我刚刚安装了ubuntu 16.04并下载了eclipse并解压缩.当我开始eclipse时,欢迎页面是空的.
当我开始日食市场时,没有任何事情发生.
如何解决这个问题?
小智 59
尝试在编辑eclipse.ini文件并调整launcher条目后启动Eclipse,如下所示:
--launcher.GTK_version
2
Run Code Online (Sandbox Code Playgroud)
示例文件:
-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
Run Code Online (Sandbox Code Playgroud)
小智 15
这可能是由于GTK 3 SWT的实施.Eclipse应该与GTK 2完美配合,但在最近的ubuntu上使用GTK 3.
在命令行中进行测试以验证它:
禁用GTK: export SWT_GTK3=0
在同一个会话中启动eclipse: eclipse
如果有效,请将其永久化.找到eclipse.desktop并添加:
Exec=env SWT_GTK3=0 eclipse
Run Code Online (Sandbox Code Playgroud)
小智 9
打开eclipse.ini并添加以下内容
--launcher.GTK_version
2
Run Code Online (Sandbox Code Playgroud)
之前 --launcher.appendVmargs
| 归档时间: |
|
| 查看次数: |
24257 次 |
| 最近记录: |