【发布时间】:2017-10-16 15:21:16
【问题描述】:
Eclipse 在 Ubuntu 14.04 上在抛出以下错误消息后崩溃。
JVM terminated. Exit code=11
/usr/bin/java
-Xms128m
-Xmx2048m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=1024m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/lib/eclipse//plugins/org.eclipse.platform_3.8.1.dist/splash.bmp
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist/eclipse_1503.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.overrideVmargs
-exitdata ea0009
-vm /usr/bin/java
-vmargs
-Xms128m
-Xmx2048m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=1024m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
Eclipse 版本:3.8.1
eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Xms128m
-Xmx1024m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
工作区/.metadata/.log
!SESSION 2016-01-29 16:32:26.126 -----------------------------------------------
eclipse.buildId=debbuild
java.version=1.8.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.ui 2 2 2016-01-29 16:37:51.223
!MESSAGE Invalid property category path: ValidationPropertiesPage (bundle: org.eclipse.wst.xml.ui, propertyPage: org.eclipse.wst.xml.ui.propertyPage.project.validation)
!SESSION 2016-01-29 16:39:42.541 -----------------------------------------------
eclipse.buildId=debbuild
java.version=1.8.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.core.resources 2 10035 2016-01-29 16:39:44.621
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.ui 2 2 2016-01-29 16:42:30.180
!MESSAGE Invalid property category path: ValidationPropertiesPage (bundle: org.eclipse.wst.xml.ui, propertyPage: org.eclipse.wst.xml.ui.propertyPage.project.validation)
我正在使用 oracle java 版本“1.8.0_72”,如下所示。
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
我也尝试过打开 jdk 并出现同样的问题。
任何解决方案或解决方法可以避免这种崩溃?
【问题讨论】:
-
这不是错误信息。这是您的启动配置(通常通过 eclipse 可执行文件附近的 ini 文件设置)。您应该在 Eclipse 可执行文件附近或当前工作目录中找到 JVM 转储文件。
-
也许您只安装了 JRE 而不是 JDK。
/usr/bin/javac -version的输出是什么? -
您的 jre 是 32 位还是 64 位?你必须用 32bit jvm 运行 32bit eclipse,用 64bit jvm 运行 64bit eclipse
-
@SubOptimal JDK不是必须运行eclipse,JRE就够了。
-
@SubOptimal 输出为:javac 1.8.0_72
标签: java eclipse ubuntu openjdk