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

How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.

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

How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.

Topics:
java ,eclipse

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}