[英]Eclipse crash with error JVM terminated. Exit code=11
拋出以下錯誤消息后,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)
我也試過open jdk並且發生了同樣的問題。
任何解決方案或解決方法,以避免此崩潰?
來自默認的eclipse-inst.ini的GTK部分
Eclipse Installer
-data
@noDefault
--launcher.GTK_version
2
至
Eclipse Installer
-data
@noDefault
--launcher.GTK_version
3
從評論看起來像eclipse安裝的一些問題:
下載最新的64bit eclipse表格: ECLIPSE DOWNLOADS
如果在此之后仍然面臨同樣的問題:
eclipse.ini
文件。 從指定JVM ,在-vmargs之前添加以下內容
-vm
\\你的JRE路徑\\斌\\ javaw.exe的
不依賴於Ubuntu提供的任何包裝和Eclipse版本,通常建議直接從源代碼下載Eclipse。 如wiki中所述,在 eclipse.ini
文件中指定JVM的完整路徑也是一個好主意。
我強烈建議你通過ppa安裝webup8team的java。 它將選擇正確的一個jdk / jre,依此類推:
我希望在此之后問題將得到解決
在eclipse.ini文件中添加jdk版本,
-vm“path_to_your_jvm”
查看Eclipse日志文件
${location of the workspace}/.metadata/.log
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.