2013-10-31 151 views
0

我的eclipse沒有啓動,它顯示這條消息,我已經下載了其他版本,重新安裝了jre。但仍顯示該消息。程序啓動時發生Eclipse錯誤

that is what happen

的我怎麼能解決這個問題的任何想法?

+2

http://stackoverflow.com/questions/6333874/eclipse-startup-error-code-1 –

+1

看看這個鏈接: http://stackoverflow.com/questions/18609160/eclipse-returns-error-message-java-was-started-but-returned-exit-code-1 –

回答

0

你可以嘗試在你的eclipse.ini文件中指定正確的JVM:

-startup 
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502 
-product 
org.eclipse.epp.package.java.product 
--launcher.defaultAction 
openFile 
--launcher.XXMaxPermSize 
256M 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
-vm 
C:\Java\JDK\1.5\bin\javaw.exe 
-vmargs 
-Dosgi.requiredJavaVersion=1.5 
-Xms40m 
-Xmx1024m 

檢查this更多。

+0

解決了這個問題:D,謝謝。 – LC1NS4N3

0

您可能要編輯eclipse.ini,尤其要注意-vm。那裏給出的路徑必須指向你的jre's javaw.exe

-startup
插件/ org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
插件/ org.eclipse.equinox.launcher.win32.win32.x86_64_1。 1.200.v20130521-0416
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
中openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256米
--launcher.defaultAction
中openFile
--launcher.appendVmargs
-vm
C:/java/jre7/bin/javaw.exe
-vmargs
-Dosgi .requiredJavaVersion = 1.6
-Xms40m
-Xmx512m

相關問題