Java was started but returned exit code=13
Then JVM terminates. How do you fix this error? Eclipse was working before you upgraded Java. I am using Windows 7 but my fix may apply to other OS versions.
Root Cause
First let's know what the root cause is. The root cause is when you are done installing Java, the installation program has set up your OS environment so that every program running Java on your computer knows where to find Java you just installed.
However, suppose the Java version you installed creates problems such as you can no longer run Eclipse, then you will need to fix these problems.
Solution
Let's assume that you have upgraded from Java 7 to Java 8. The solution is simply to revert your system back to Java 7. You may be in one of the following situations.
#1: You have NOT removed Java 7 from your PC.
In this case, simply remove Java 8 by uninstalling it. When you are done uninstalling Java 8, try running Eclipse again and see if the error goes away.
#2: You have removed Java 7 from your computer.
In this case, uninstall Java 8. Then reinstall Java 7. When you are done reinstalling Java 7, try running Eclipse again and see if the error goes away.
Questions? Let me know!