Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

exit code 13 in eclipse

DZone's Guide to

exit code 13 in eclipse

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

if you have encountered exit code 13 in your eclipse (you might have upgraded your java version / 32 bit to 64 bit ) 

there are lot of references in net, to make it simple I have added the snippet here.. 

1. Assert you are having the javaw.exe in your java installation folder (jre/bin/javaw.exe)

2. Open your eclipse.ini in your favorite text editor ( xx/eclipse/eclipse.ini)

3.Find the line contains -vmargs

4. Add the following lines (refer the snippet) before the -vmargs line

-vm 
C:\java-home\jdk1.7.0_21\jre\bin\javaw.exe

4. And in -vmargs make sure you are giving the right version of java that you have just updated  (refer the snippet)

-Dosgi.requiredJavaVersion=1.7

5. Save it and That's about it, you would be able to run your eclipse again..

Happy Coding


-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm 
C:\java-home\jdk1.7.0_21\jre\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx1024m

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:
java ,eclipse

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}