Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Exit Code 13(Error on 64 bit with Java 1.6 on Windows 7)
Exit Code 13 [message #672369] Fri, 20 May 2011 20:40 Go to next message
Judy Tyrer is currently offline Judy TyrerFriend
Messages: 2
Registered: May 2011
Junior Member
I read all the previous issues with using 64 bits and verified that I DO have the 64 bit XDK, I have the configuration correctly set to jre6 directory, and used the default eclipse.ini adding only the -vm directory. I get the following error (and I agree with the person who said not being able to cut/paste was evil):

Java was started but returned exit code-13
C:\Program Files (x86)\java\jre6\bin\javaw.exe
-Xms40m
-Xmx484m
-XX:MaxPermSize=356m
-jar
C:\eclipse\\plugin/org.eclipse.equinox.launcher_1.1.1.R63x)v20101122_1400.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 17a8_58
-vm C:\Program Files (x86)\java\jre6\bin\javaw.exe
-vmargs
-Xms40M
-Xmx384m
-XX:MaxPermSize=256m
-jar
C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

Not sure if the problem is jre6, eclipse or windows 7 but this is a pretty vanilla installation so it should work right out of the box.
Re: Exit Code 13 [message #672377 is a reply to message #672369] Fri, 20 May 2011 21:06 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
The JVM you are using is installed in \Program Files (x86). This is almost certainly the 32 bit version of the JVM. On a 64 bit system, 64 bit programs are installed in \Program Files, 32 bit programs are installed in \Program Files (x86). Unless you changed the default when installing the 64 bit version, you are running against the 32 bit version.

You need to either download and install the 64 bit version (If you plan on doing Java development, I would recommend a JDK instead of a JRE), or you need to download the 32 bit version of Eclipse.
Re: Exit Code 13 [message #672378 is a reply to message #672369] Fri, 20 May 2011 21:07 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

I'm confused, Judy. You say you're on a 64-bit Windows platform and
you've downloaded a 64-bit XDK (probably meant JDK), yet you've wired
eclipse.ini up to a 32-bit JRE.

The path to your JRE should be (personally, I don't advise using your
system's JRE--use a private copy of the JDK, but oh well...) something like:

C:\Program Files\java\jre6\bin\javaw.exe

No? Because on Windows 64-bit, C:\Program Files (x86) is the place where
32-bit apps are deposited.

Or have I misunderstood?


On 20-May-11 14:40, Judy Tyrer wrote:
> I read all the previous issues with using 64 bits and verified that I DO
> have the 64 bit XDK, I have the configuration correctly set to jre6
> directory, and used the default eclipse.ini adding only the -vm
> directory. I get the following error (and I agree with the person who
> said not being able to cut/paste was evil):
>
> Java was started but returned exit code-13
> C:\Program Files (x86)\java\jre6\bin\javaw.exe
> -Xms40m
> -Xmx484m
> -XX:MaxPermSize=356m
> -jar
> C:\eclipse\\plugin/org.eclipse.equinox.launcher_1.1.1.R63x)v20101122_1400.jar
>
> -os win32
> -ws win32
> -arch x86_64
> -showsplash
> -launcher C:\eclipse\eclipse.exe
> -name Eclipse
> --launcher.library
> C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
>
> -exitdata 17a8_58
> -vm C:\Program Files (x86)\java\jre6\bin\javaw.exe
> -vmargs
> -Xms40M
> -Xmx384m
> -XX:MaxPermSize=256m
> -jar
> C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
>
>
> Not sure if the problem is jre6, eclipse or windows 7 but this is a
> pretty vanilla installation so it should work right out of the box.
Re: Exit Code 13 [message #672433 is a reply to message #672378] Sat, 21 May 2011 02:15 Go to previous message
Judy Tyrer is currently offline Judy TyrerFriend
Messages: 2
Registered: May 2011
Junior Member
Thanks, that was it. I needed to download the 64 bit version of Java.
Previous Topic:Program runs in CMD window, not in Eclipse
Next Topic:Elcipse with CCS4 and SDCC for 8051
Goto Forum:
  


Current Time: Fri Mar 29 01:11:49 GMT 2024

Powered by FUDForum. Page generated in 0.04361 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top