Pages

Saturday, February 21, 2015

How to solve “Java was started but returned exit code = 13” in eclipse


Let’s see how to solve “Java was started but returned exit code =13”.Most of the time it will happen when you have updated your jdk to 7 or higher J
You may wonder how it will effect on you eclipse, this mainly due to incompatible sdk and jdk versions.Also it may occur if you try to use 32 bit java version for 64 bit eclipse.


 




Let’s see what are the steps we need to follow to solve this problem  .As the first step open your eclipse.ini file inside your eclipse folder(in my case eclipse-java-luna-SR1a-win32-x86_64) and check whether there is a path which is pointing to your jdk .




If not simply locate your jdk javaw.exe file path into your eclipse.ini .But please make sure that you have add the above 2 lines just before the –vmargs and after the openFile .After you completing this your editor should be like this





Now your problem is over…………enjoy J

No comments:

Post a Comment