Home >Java >javaTutorial >How Do I Fix the 'Exit Code 13' Error in Eclipse by Verifying Java and Eclipse Versions?
Verifying Java and Eclipse Versions for Exit Code 13 Error
When attempting to use Eclipse for Android development, you may encounter the error "Java was started but returned exit code=13." This error is often caused by a conflict between the 32-bit and 64-bit versions of Java and Eclipse.
To confirm the versions of your installed software:
Checking Eclipse Version:
Checking Java Version:
Resolving the Conflict:
Since you have a 64-bit version of Eclipse and a 32-bit version of Java, you need to specify a 64-bit JVM for Eclipse to use.
Specifying the JVM Path in eclipse.ini:
-vm C:\Program Files\Java\jre7\bin\javaw.exe
Note: Replace the path with the correct location of your 64-bit Java JVM.
Other Considerations:
The above is the detailed content of How Do I Fix the 'Exit Code 13' Error in Eclipse by Verifying Java and Eclipse Versions?. For more information, please follow other related articles on the PHP Chinese website!