Ubuntu: Ubuntu 16.04 and Eclipse Mars menu problem [duplicate]


This question already has an answer here:

My OS is Ubuntu 16.04. I downloaded Eclipse Version: Mars.2 Release (4.5.2) and I had a problem with the main menu not showing.
I solved it by running Eclipse with UBUNTU_MENUPROXY=0 and the menu is visible but now I have another problem. Some of the options in the menu don't work.
For example the Window->Preferences only shows the General page and I can't select any other option.

Image of the broken menu

Is there a solution for this problem?


Try to start Eclipse after editing your eclipse.ini file and tweaking the launcher entry like this:

--launcher.GTK_version  2  

Example file:

-startup  plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar  --launcher.GTK_version  2  -product  org.eclipse.epp.package.cpp.product  --launcher.defaultAction  openFile  -showsplash  org.eclipse.platform  --launcher.XXMaxPermSize  256m  --launcher.defaultAction  openFile  --launcher.appendVmargs  -vmargs  -Dosgi.requiredJavaVersion=1.7  -XX:MaxPermSize=256m  -Xms256m  -Xmx1024m  

See: https://stackoverflow.com/questions/36822242/eclipse-doesnt-work-with-ubuntu-16-04/36859485

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »