How to Fix a "JVM terminated. Exit code=13" Error in Eclipse

If you are trying to start Eclipse, but are continually getting a "JVM terminated. Exit code=13" error" then you need to fix the error. Here's how.

Things You'll Need

  • A command-line terminal
Show More

Instructions

    • 1

      First, realize that this error is caused when you are attempting to start Eclipse using the wrong version of the Java Virtual Machine (JVM). So you need to realize what JVM you are starting with.

    • 2

      If you are using Linux, you can type "which java" on the command line. Otherwise, you can type "java -version". This will give you the Java version.

    • 3

      Now, you need to research the correct JVM for the version of Eclipse that you are using. For example, if you are using Eclipse Europa, it may require the 1.5 JVM to start. When you initially get the error message, you may see something that says "requiredJavaVersion=1.5", which will tell you what version of the JVM is required.

    • 4

      Make sure that you have the correct version of Java installed.

    • 5

      Now, you can either change the Java version environment variable or you can tell Eclipse to use a different version of the virtual machine upon startup. To do this you use the "vm" flag.

      For example: ./eclipse -vm /home/seed/app/jre1.5.0_10/bin

    • 6

      Now that you have changed the version of the Java Virtual Machine that you are using to start Eclipse, the error should be resolved. Good luck!

Related Searches:

Comments

You May Also Like

  • How to Code an Exit Button

    When coding web forms, every page needs an Exit, Cancel or Back button. These buttons guide the reader back to the appropriate...

  • How to Make a Game Using Java Software

    Download and install the Java Development Kit (JDK) from java.sun.com. Then, enter the program code that creates the game: open up Notepad...

  • How to Specify the JVM for Eclipse

    Eclipse may not start if you don't specify the correct Java Virtual Machine. If you get: VM terminated. Exit code=13 /usr/bin/java, then...

  • How to Fix it Jvm Error Codes for the Blackberry Pearl

    Blackberry devices run on the Java Virtual Machine, or JVM, software platform. Occasionally the software will run into a glitch and stop...

  • How to Reinstall JVM

    JVM, or Java Virtual Machine, is part of the JRE (Java Runtime Environment) download. Java is a programming platform that designers use...

  • How to Repair XBox Error Code 13

    An error code 13 occurs on an original Xbox gaming console when the Xbox dashboard fails to launch. This usually happens when...

  • How to Make Java Games

    Java games are computer games written in the computer programming language "Java." Java games can be as complex as the shoot-'em-up three...

  • How to Make a Timer in Java

    This tutorial is a guide to using the timer found in the Swing class of the Java programmer language, beginning with an...

  • How to Fix Error 1309

    In a perfect world, a computer would run smoothly without any glitch or error. Of course it isn't a perfect world, though,...

  • How to Fix Code 31 Errors

    On occasion, computers running Windows 7 will display Error Code 31,"This device is not working properly because Windows cannot load the drivers...

Related Ads

Featured