红联Linux门户
Linux帮助

Ubuntu 16.04中的Eclipse Mars菜单栏选项失效

发布时间:2016-05-03 16:14:32来源:linux网站作者:jackzlz

Ubuntu 16.04 中的 Eclipse Mars 菜单栏选项失效的解决办法:

在 eclipse.ini 配置文件中加入以下这行:

--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


参考:http://stackoverflow.com/questions/36822242/eclipse-doesnt-work-with-ubuntu-16-04/36859485


本文永久更新地址:http://www.linuxdiyf.com/linux/20314.html