[英]Eclipse IDE fail to launch with JVM Terminated. Exit code=-1
[英]eclipse IDE crashes after seconds with JVM terminated. Exit code=1
我正在Ubuntu 10.04上使用eclipse IDE Galileo。(在eclipse根目錄中使用JRE)當我嘗試下載並使用新的Eclipse Eclipse時,它會立即崩潰或最多10秒后出現此錯誤消息
JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/arefaey/devel/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/arefaey/devel/eclipse/eclipse
-name Eclipse
--launcher.library /home/arefaey/devel/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so
-startup /home/arefaey/devel/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 1758045
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/arefaey/devel/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
我用Google搜索並嘗試了許多措辭:
如果我得到幫助,它會很棒,因為HELIOS真的更快。
提前致謝,
我安裝了OpenJDK,它工作正常
你調用哪個JVM? Eclipse Helios在Ubuntu 10.04下與Sun JVM配合使用。
Helios和Java 1.6.0_21存在已知問題。 wiki.eclipse已經有了一個解決方案(解決方法)。
簡而言之,要么:
我有運行ubuntu 10.04 64位的相同問題:
但我沒有使用21。
:/ opt $ java -version java version“1.6.0_20”Java(TM)SE運行時環境(版本1.6.0_20-b02)Java HotSpot(TM)64位服務器VM(版本16.3-b01,混合模式)
我正在使用eclipse helios,實現運行以下args解決了我的問題(默認vm是1.6.0_20-b02)
./eclipse \\ helios vm / opt2 / bea / jdk160_05 / bin / java -vmargs -XX:MaxPermSize = 128m -Xms128m -Xmx512m
當您嘗試在64位操作系統上安裝32位eclipse時會發生這種情況,反之亦然。嘗試使用相同的操作系統以及Eclipse
在我的情況下,我在一個被刪除的目錄中,我在終端中也得到了以下錯誤
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1069)
我知道有些人使用x86_64版本的Ubuntu和JVM與Eclipse有同樣的問題。
有一種變通方法在這里
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.