Eclipse error solved: can't start Eclipse - Java was started but returned exit code=13


Contents of page >
  • Eclipse error : can't start Eclipse - Java was started but returned exit code=13 could be solved by two methods >
  • Method 1 - To avoid Eclipse error : can't start Eclipse - Java was started but returned exit code=13 >
  • Method 2 - To avoid Eclipse error : can't start Eclipse - Java was started but returned exit code=13 >


Eclipse error : can't start Eclipse - Java was started but returned exit code=13 could be solved by two methods >

Method 1 - To avoid Eclipse error : can't start Eclipse - Java was started but returned exit code=13 >


Step 1> Go to My Computer, right click on properties

Step 2> Click Advanced System setting, Environment Variable.

Step 3> Then set PATH  >

Case 1 >If variable with name PATH doesn't exist >
Again click on New..
Then enter -
Variable name : PATH
variable value: C:\Program Files\Java\jdk1.8.0_05\bin\jawaw.exe
Click OK.


Case2 > If variable with name PATH already exists >
Open PATH
Enter C:\Program Files\Java\jdk1.8.0_05\bin\jawaw.exe separated by ; (semi colon).

Example>
If xyz already exists.
Then, xyz ; C:\Program Files\Java\jdk1.8.0_05\bin\jawaw.exe
Click OK.

Also read : Setting environment variables JAVA_HOME & JDK PATH




Method 2 - To avoid Eclipse error : can't start Eclipse - Java was started but returned exit code=13 >


Step1 >Open eclipse.ini file (eclipse.ini file is located in eclipse directory in Windows OS)

Step2 >Add vm arguments by adding following lines >

-vm
C:\Program Files\Java\jdk1.8.0_05\bin\jawaw.exe





Summary -

In this tutorial we solved Eclipse error : can't start Eclipse - Java was started but returned exit code=13


Having any doubt? or you liked the tutorial! Please comment in below section.
Please express your love by liking JavaMadeSoEasy.com (JMSE) on facebook, following on google+ or Twitter. You may join our fbGroup or linkedInGroup as well.



RELATED LINKS>



Labels: eclipse
eEdit
Must read for you :