Ubuntu 16.04和Eclipse Mars菜单问题

我的操作系统是Ubuntu 16.04。 我下载了Eclipse Version:Mars.2 Release(4.5.2),但主菜单没有显示出现问题。
我通过使用UBUNTU_MENUPROXY=0运行Eclipse来解决它,菜单可见,但现在我有另一个问题。 菜单中的某些选项不起作用。
例如, Window – > Preferences仅显示General页面,我无法选择任何其他选项。

破碎的菜单的图像

这个问题有解决方案吗?

尝试在编辑eclipse.ini文件并调整launcher条目后启动Eclipse,如下所示:

 --launcher.GTK_version 2 

示例文件:

 -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 

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