Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse won't start? EXIT CODE 13 and more  () 1 Vote
icon2.gif  Eclipse won't start? EXIT CODE 13 and more [message #633149] Fri, 15 October 2010 14:03 Go to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3031
Registered: July 2009
Senior Member
If you've "installed" Eclipse but are having trouble getting it to run, the most likely cause is that you have not correctly specified the JVM for it to run under. Doing so is easy, just read http://wiki.eclipse.org/Eclipse.ini

Another common mistake on Microsoft Windows is a mismatch between the "bittedness" of Eclipse and the JVM/JDK. This is the most frequent cause of an Error 13. 64-bit Eclipse requires a 64-bit JVM, and 32-bit Eclipse requires 32-bit JVM--you can not mix-and-match between 32-bit and 64-bit, so make sure the version of Eclipse you installed matches the JVM/JDK that you're using to run it (and make sure you're using eclipse.ini to specify the exact JVM used to run Eclipse, described above).

As a simple test, open a Command Prompt window, move to the directory that is pointed to by the -vm argument in your eclipse.ini, and run the intended java.exe with the -d32 switch to test if it supports 32-bit, or -d64 to test for 64-bit support. It's often simplest to download a version of Eclipse that will work with whatever Java you already have installed.

To check if you have a 32-bit JRE:
java -d32 -version

To check if you have a 64-bit JRE:
java -d64 -version


[Updated on: Fri, 24 March 2017 17:58]

Report message to a moderator

Re: Eclipse won't start? EXIT CODE 13 and more [message #1754167 is a reply to message #633149] Tue, 14 February 2017 21:56 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3031
Registered: July 2009
Senior Member
If you are trying to run Eclipse on a recent version of OS X on a Mac or MacBook, you might encounter an error message that advises you to install "legacy" Java, with a link to download a very old version of a JRE (1.6). DON'T DO THAT.
It turns out that Apple and OS X has done a thorough job of screwing up what used to be the best OS for Java development. <sigh/>

The "you need legacy Java" message was from OS X, not Eclipse. The advice to download and install it is bad advice, but sadly nothing that Eclipse can remedy. Installing "legacy Java" just reverts your system to a VERY outdated JRE and renders much Java-based software, including Eclipse, broken. <sigh/>

Eclipse requires Java 8 or above, so the best thing is to download JDK 1.8 (not just the JRE), install that, then point your eclipse.ini file to it's exact location per the instructions at the eclipse.ini wiki page. Oracle JDK download links change often, so it's best to Google for "JDK 8 download" and you'll find it. Here's the page as it stands at the time I'm writing this.
Previous Topic:Eclipse do not run after JDeveloper installation.
Next Topic:Multiple language/directory in single project...
Goto Forum:
  


Current Time: Thu Jun 29 12:46:40 GMT 2017

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

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