Eclipse Helios不启动 [英] Eclipse Helios not launching
问题描述
我做了一些挖掘,它出现配置文件需要Java 1.5启动(dosgiRequiredJavaVersion = 1.5)。删除此行并不重要。
我去了一个1.5.0_22的归档副本,并尝试在vmargs之前使用配置文件中的-vm mypath / java / jre1.5.0_22 / bin还是没有帮助。
我也尝试过快捷方式,并在属性的目标字段中指定了eclipse -vm mypath,但仍然没有。
这是我的配置设置,仍然提供错误:
-startup
plugins / org .eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins / org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-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:\program files\java\jre1.5.0_22\bin
-vmargs
-Dosgi.requiredJavaVersion = 1.5
-Xms40m
-Xmx384m
$ c $有人解决了这个问题吗?解决方案 >当使用带x64 J的x86 Eclipse时,会发生这种情况DK(也许反之亦然)。
只需指向与eclipse.ini文件中与Eclipse相同架构的JDK,例如:
vm
D:/Dev/Java/jdk1.6.0_25_x86/jre/bin/javaw.exe
I have used Eclipse in the past without problems over a year ago, but I downloaded Helios onto a new computer having Windows Vista and Java 1.6.13 currently. I extract the folder and try to run the Eclipse EXE and get an error stating "Java was started but returned exit code=13".
I did some digging and it appears that the config file is requiring Java 1.5 to launch (dosgiRequiredJavaVersion=1.5). Removing this line does not matter.
I went and got an archived copy of 1.5.0_22 and tried to use -vm mypath/java/jre1.5.0_22/bin in the config file before vmargs and it still does not help.
I have also tried making a shortcut and specified the "eclipse -vm mypath" in the target field of properties and still nothing.
Here are my config settings which still give the error:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-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:\program files\java\jre1.5.0_22\bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
Has anyone solved this problem?
解决方案 This occurs when using an x86 Eclipse with a x64 JDK (and perhaps vice-versa).
Just point to a JDK with the same architecture as your Eclipse in your eclipse.ini file, eg:
-vm
D:/Dev/Java/jdk1.6.0_25_x86/jre/bin/javaw.exe
这篇关于Eclipse Helios不启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!