Community
Participate
Working Groups
Build Identifier: Hi all, Just downloaded exclipse and trying to run it but I keep getting the following error: Java was started but returned exit code=1 C:\jdk1.6.0_21\bin\javaw.exe -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx384m -XX:MaxPermSize=256m -jar C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os win32 -ws win32 -arch x86 -showsplash -launcher C:\Eclipse\eclipse\eclipse.exe -name Eclipse --launcher.library C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503\eclipse_1307.dll -startup C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 2ee8_134 -product org.eclipse.epp.package.java.product -vm C:\jdk1.6.0_21\bin\javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx384m -XX:MaxPermSize=256m -jar C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar Reproducible: Always Steps to Reproduce: 1.Download Eclipse 2.Click eclipse.exe 3.Error pops-up
Created attachment 175531 [details] Error Popup
Seeing your "-XX:MaxPermSize=256m" vm argument I assume you have seen the warning re jdk1.6.0_21 (from Oracle) and applied the steps in http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Oracle.2FSun_VM_1.6.0_21_on_Windows However, the error message you quote has some funny duplication. So perhaps you may want to send your eclipse.ini for double checking?
Move to Platform/UI
(In reply to comment #0) > 1.Download Eclipse Which download did you get? What is its name?
(In reply to comment #2) > Seeing your "-XX:MaxPermSize=256m" vm argument I assume you have seen the > warning re jdk1.6.0_21 (from Oracle) and applied the steps in > > http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Oracle.2FSun_VM_1.6.0_21_on_Windows > > However, the error message you quote has some funny duplication. > So perhaps you may want to send your eclipse.ini for double checking? That duplication is normal, the launcher sends the vmargs to the jre on the command line before the -jar, at the end of the command line the -vmargs are passed again to eclipse as program args so that the running eclipse knows what vmargs were used for the launch. They show up in the system property "eclipse.vmargs" add will be used for restarts.
I am not able to reproduce. Closing. Please do reopen if you see this error again.