带有JVM的Eclipse Luna craches terminate.exit code = 1

时间:2015-05-19 15:05:28

标签: java eclipse

我在Xubuntu 14.10上使用eclipse Luna,效果很好。 当我发射日食时,它有时会破裂,有时它在第一次运作良好,然后突然出现这个错误。

JVM terminated. Exit code=1
/usr/lib/jvm/java-7-openjdk-amd64/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher /usr/local/eclipse-luna/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 20e801f
-product org.eclipse.epp.package.jee.product
-vm /usr/lib/jvm/java-7-openjdk-amd64/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 

有我的eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/lib/jvm/java-7-openjdk-amd64/bin/java
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

我使用openjdk7,当我输入java -version时,

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)

我的Eclipse版本是好的,64位 我查看了处理相同问题的其他帖子,但提出的解决方案并没有帮助我。

我能做些什么。有什么想法吗?

感谢您提前。

1 个答案:

答案 0 :(得分:1)

有一个Xubuntu Bug,我从这个链接找到了一个解决方案, Bug 11893 - Eclipse crashes frequently with Xfce 4.12

有两种选择:

  1. 使用另一个像openbox这样的Windows管理器。
  2. 尝试降级xfwm4(Xubuntu 15.04),但是我没有使用openbox,而eclipse工作得很好。
  3. 我希望能帮助别人。

相关问题