Skip to main content



      Home
Home » Newcomers » Newcomers » Trying to run eclipse/java for the first time, exit code 13
Trying to run eclipse/java for the first time, exit code 13 [message #661781] Sun, 27 March 2011 16:08 Go to next message
Eclipse UserFriend
I crash on trying to run, with exit code 13, whatever that is. Please help.

I have Windows Vista Home Premium, SP 2.

I installed Java; it went into C:\Program Files (x86)\Java\jre6.

I then created folder C:\Eclipse to install eclipse into, and installed Eclipse. It created a folder C:\Eclipse\eclipse and went into that.

Following the instructions in FAQ How do I run Eclipse?, I edited eclipse.ini (with Wordpad) to add a "-vm" line so that it reads as follows:
- - - - - - - -
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_14 00.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 2.R36x_v20101222
-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 (x86)/Java/jre6/bin/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
- - - - - - - -
I then ran eclipse.exe and got the following error message on a dialog box with an OK button:
- - - - - - - -
Java was started but returned exit code=13
C:/Program Files (x86)/Java/jre6/bin/javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar
C:\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher_1.1 .1.R36x_v20101122_1400.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Eclipse\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher.win 32.x86_64_1.1.2.R36x_v20101222\eclipse_1312.dll
-startup
C:\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher_1.1 .1.R36x_v20101122_1400.jar
-exitdata 620_64
-product org.eclipse.epp.package.java.product
-vm C:/Program Files (x86)/Java/jre6/bin/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar
C:\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher_1.1 .1.R36x_v20101122_1400.jar
- - - - - - - -
I clicked OK.
Re: Trying to run eclipse/java for the first time, exit code 13 [message #661792 is a reply to message #661781] Sun, 27 March 2011 17:13 Go to previous messageGo to next message
Eclipse UserFriend
On 2011.03.27 14:08, ralazar2000@yahoo.com wrote:
> I crash on trying to run, with exit code 13, whatever that is. Please help.
>
> [snip]

Perhaps you downloaded 64-bit Helios? You must run the same bittedness
(JRE and Eclipse).
Re: Trying to run eclipse/java for the first time, exit code 13 [message #661793 is a reply to message #661792] Sun, 27 March 2011 18:04 Go to previous messageGo to next message
Eclipse UserFriend
I have 64-bit Windows. I suppose I should have 64-bit Eclipse and Java. (a) How do I tell? (b) How do I fix it if it's wrong? Control Panel -> Uninstall doesn't list Eclipse.
Re: Trying to run eclipse/java for the first time, exit code 13 [message #661794 is a reply to message #661793] Sun, 27 March 2011 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Me again. I re-downloaded Eclipse-java-helios-SR2-win32_x86_64. And I uninstalled and reinstalled Java, making sure to get the 64-bit version--which went into C:\Program Files\Java\jre6, instead of Program Files (x86). Then I edited eclipse.ini accordingly, and this time it started up.

Thanks!
Re: Trying to run eclipse/java for the first time, exit code 13 [message #661797 is a reply to message #661794] Sun, 27 March 2011 18:51 Go to previous message
Eclipse UserFriend
On 2011.03.27 16:22, ralazar2000@yahoo.com wrote:
> Me again. I re-downloaded Eclipse-java-helios-SR2-win32_x86_64. And I
> uninstalled and reinstalled Java, making sure to get the 64-bit
> version--which went into C:\Program Files\Java\jre6, instead of Program
> Files (x86). Then I edited eclipse.ini accordingly, and this time it
> started up.
>
> Thanks!
>

There you go. And, if you're planning Java development, you must instead
download a proper JDK (not merely a JRE).

http://www.oracle.com/technetwork/java/javase/downloads/inde x.html
Previous Topic:"Path Entry Markers?"
Next Topic:Trying to understand build project
Goto Forum:
  


Current Time: Fri Nov 07 02:26:20 EST 2025

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

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

Back to the top