Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse won't start? EXIT CODE 13, Java 9 and newer, macOS, and more  () 1 Vote
Eclipse won't start? EXIT CODE 13, Java 9 and newer, macOS, and more [message #633149] Fri, 15 October 2010 14:03 Go to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
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

Exit Code 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. Mixing 32-bit and 64-bit versions is the most frequent cause of an Error 13, so
make sure the version of Eclipse you installed matches the JVM/JDK that you're using to run it (especially if
you are using eclipse.ini to specify the exact JVM used to run Eclipse, described
above). If you are on a 64-bit operating system, the Eclipse
Installer will be looking for a 64-bit Java Runtime.

As a test, open a command line window and run the intended java binary 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 Java Runtime.:
java -d32 -version

To check if you have a 64-bit Java Runtime.:
java -d64 -version

Java 11, and later, with Eclipse versions prior to Oxygen.1a (Eclipse Platform 4.7.1a)
Java 9 makes substantial changes as to how the classpath is handled in order to add modularity to
Java. For most applications, this is invisible, but it creates issues for Eclipse's own modularity. Oxygen.1a
is the first release of Eclipse that is ready to run under Java 9. Java 11 removed some packages from the JRE,
fundamentally making older releases of Eclipse incompatible with newer releases of Java. If you still have an older Java runtime available,
check the Running Eclipse reference documentation on using the -vm parameter to launch Eclipse and then update to a
compatible version. If you must continue to use an older release, check the Wiki page at for instructions on adding the
right startup parameters to your eclipse.ini file, script, or shortcut.

Beginning with Eclipse 4.17, Eclipse also requires Java 11. The current release can always be found at .

[Updated on: Tue, 05 December 2023 15:30] by Moderator

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: 3070
Registered: July 2009
Senior Member
macOS complains that Eclipse requires the legacy Java SE 6 runtime

If you are trying to run Eclipse on a recent version of macOS, 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 macOS, 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) and install
that. In rare cases, you will need, or want, to point your eclipse.ini file to its 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
for Java 8 as it stands at the time I'm writing this. Here's the page for
Java 9, which doesn't pose a problem for equally current versions of Eclipse. Here's the page for Java 10,
which requires Oxygen.3a to support new language features.

[Updated on: Sat, 24 March 2018 06:44] by Moderator

Report message to a moderator

Next Topic:including source files in a project
Goto Forum:

Current Time: Fri May 24 23:40:34 GMT 2024

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

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

Back to the top