Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't get Eclipse to start(Start-up failure)
Can't get Eclipse to start [message #816298] Thu, 08 March 2012 12:08 Go to next message
J. P. is currently offline J. P.
Messages: 2
Registered: March 2012
Junior Member
I have a new Windows 7 64-bit machine, but I cannot get Eclipse to start up properly. I have the latest version of JRE installed. The version is detailed below:

Java version 6, update 31, build 1.6.0_31-b05

Eclipse apparently cannot find the JRE by itself, so I try to invoke Eclipse on the command line as follows:

eclipse -vm C:\Program Files (x86)\Java\jre6\bin\javaw.exe

This results in the following error pop-up (I had to retype all of this since there wasn't any way to copy it, so there might be some typos):

Java was started but returned exit code=13
C:\Program Files (x86)\Java\jre6\bin\javaw.exe
-Xms384m
-XX:MaxPermSize=256m
-jar
...\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar (I redacted the path)
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher ...\eclipse.exe (I redacted the path)
-name Eclipse
--Launcher.library
...\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar (I redacted the path)
--launcher.overrideVmargs
-exitdata 18e8_5c
-vm C:\Program Files (x86)\Java\jre6\bin\javaw.exe
-vmargs
--Xms40m
-Xm384m
-XX:MaxPermSize=256m
-jar
...\\plugins/org.eclipse.equinox.launcher_1.2.0.20110502.jar (I redacted the path)
Re: Can't get Eclipse to start [message #816317 is a reply to message #816298] Thu, 08 March 2012 12:42 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3131
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/8/2012 10:08 AM, J. P. wrote:
> I have a new Windows 7 64-bit machine, but I cannot get Eclipse to start
> up properly.
> [snip]

Since you're running Windows 64-bit...

Ensure you've downloaded 64-bit Eclipse package and, if you're going to
do Java development, a proper Sun JDK that is also 64-bit from
java.sun.com -> Downloads -> Popular Downloads. 1.6.0_31 is good, but it
should be a JDK not merely a JRE if you're going to do Java development.
(If doing C/C++, PHP, or other non-Java, it's probably not going to be
useful; you only need a JRE to run Eclipse itself.)

Next, example http://wiki.eclipse.org/Eclipse.ini for what should be in
your eclipse.ini file.
Re: Can't get Eclipse to start [message #816393 is a reply to message #816317] Thu, 08 March 2012 15:08 Go to previous message
J. P. is currently offline J. P.
Messages: 2
Registered: March 2012
Junior Member
Russell:

Thanks for the response. You're right -- I was running the 64-bit version of Eclipse with the 32-bit version of Java.

Previous Topic:Edited html is not showing on web page
Next Topic:add import to a groovy file from an eclipse plugin
Goto Forum:
  


Current Time: Mon Jul 28 18:38:31 EDT 2014

Powered by FUDForum. Page generated in 0.02944 seconds