[英]Eclipse Kepler just wont start due to Java issues
我正在嘗試在工作中運行Eclipse Kepler,但這是行不通的。 每次我解決一個問題時,下一個問題就會出現。
目前,它給了我錯誤:
Java已啟動,但返回退出代碼= 13
在此頁面上找到類似內容后,我已經編輯了eclipse.ini,但它也沒有幫助。
我的ini文件是:
-startup
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
-vm
C:\Program Files (x86)\Java\jre1.8.0_31\bin\javaw.exe
--launcher.XXMaxPermSize
256m
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Xms96m
-Xmx768m
-Xss1m
-XX:MaxPermSize=192m
好吧,現在我知道了。
原因僅僅是筆記本電腦上安裝了大量Java,在我之前已經使用了很多其他人。
因此,我在PC上卸載了所有與Java相關的內容,並運行了CCleaner。 然后,我重新安裝了eclipse和Java 7。
現在可以了。
您的Java版本是32位,但是您的Eclipse是x86_64(支持32位和64位,但通常會遇到此錯誤)。 嘗試下載eclipse 32位版本。
To check your version of Java, run java -version in a console (command prompt). On Windows 7 with 64-bit Java 6 I get: java version "1.6.0_27" Java(TM) SE Runtime Environment (build 1.6.0_27-b07) Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode) Note the 3rd line, which shows that this is a 64-bit version. On a 32-bit version you'll get something like: Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing) <!-- begin snippet: js hide: false -->
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.