我在Linux Mint 16中安装了JDK-1.8_20和Eclipse Luna。当我点击Eclipse Marketplace表单菜单时,Eclipse Luna崩溃了(Eclipse IDE aberctly关闭)。我查看了以下答案,但这些答案与我的情景不符:
是否可以解决此问题?
更新
我已经从/workspace/.metadata/.log文件中添加了日志:
!ENTRY org.eclipse.core.resources 2 10035 2014-10-13 20:32:16.558 !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes. !ENTRY org.eclipse.m2e.logback.configuration 2 0 2014-10-13 20:32:17.080 !MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String !STACK 0 java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26) at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189) at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144) at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107) at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
答案 0 :(得分:0)
我也有这个问题。我不得不改变一个GTK主题来修复它。
将以下内容放入~/.config/gtk-3.0/settings.ini
文件中:
[Settings]
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome
答案 1 :(得分:0)
这似乎与同一过程中的GTK2和GTK3有关。
the workaround is to use GTK2 for eclipse as well. This can be achieved in the following ways
1. add the following lines to eclipse.ini before -vmargs(recommended approach)
--launcher.GTK_version
2
2. set the environment variable SWT_GTK3 to 0 before launching eclipse. you need to do this every time you launch eclipse