2

Just did a fresh installation of Ubuntu 16.04 LTS and Eclipse IDE for Java Developers (Mars.2 Release (4.5.2), Build id: 20160218-0600).

When I tried to install new software, Eclipse just "Pending" there without any progression. No error messages, either.

I tried this, but it didn't work.

Eclipse Mars 2 worked fine with Ubuntu 14.04 LTS. So, what was the problem? Thanks.

Community
  • 1
  • 1
Randy Tang
  • 4,283
  • 12
  • 54
  • 112

2 Answers2

6

I followed these instructions and it worked.

Simply add

--launcher.GTK_version
2

in the eclipse.ini file.

Community
  • 1
  • 1
  • I ended up installing NEON, everything runs fine. – Randy Tang May 13 '16 at 07:55
  • Additional to this change. In the "Available Software Sites" preferences I had to uncheck "Mars". I guess its support is discontinued. After that I could work with "--All avilable sites--" without a problem. Also note that I had to remove the "--launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417" line and change it for the "--launche.GTK_version 2" – jcarballo Mar 31 '17 at 22:06
0

A similar issue can make your software list empty, it can happen when you encounter an error while installing a new software.

To solve it you've to delete some rows in one of your metadata file:

  • go in .metadata/.plugins/org.eclipse.equinox.p2.ui/dialog_settings.xml
  • delete these rows :

    <item value="0" key="AvailableVersionColumnWidth"/>

    <item value="0" key="AvailableNameColumnWidth"/>

note : I prefer share my research here instead of launching a new thread.

Alexi Courieux
  • 92
  • 2
  • 11