Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse won't start after Java update [closed]

Tags:

java

eclipse

I updated Java and now Eclipse won't start, it says Java was started but returned exit code = 13. Eclipse was working just fine until this update. Does anyone know what to do?

like image 216
Brett Fisher Avatar asked Nov 16 '14 01:11

Brett Fisher


People also ask

Why is Eclipse not opening?

If you've "installed" Eclipse but are having trouble getting it to run, the most likely cause is that you have not correctly specified the JVM for it to run under. You may need to edit the eclipse. ini file. Another common mistake on Microsoft Windows is a mismatch between the "bittedness" of Eclipse and the JVM/JDK.

Why java is not working in Eclipse?

If facing problem with Eclipse regarding java, do a manual installation of Java on your machine ( http://java.com/en/download/manual.jsp ). If you are using 64bit machine then you need to install java to c:\program files\java (Default Path) instead of c:\program files (x86)\java .

How do I fix Eclipse not responding?

If there is a project you earlier imported externally (outside of Workspace), that may cause this problem. If you can access Eclipse try to remove it. If you are getting the 'No responding at startup', then go delete the file at source. This will solve the problem.

How do I fix java was started by returned exit code 13?

If you have installed 64 bit version of java jdk and 32 bit version of eclipse ide or vice versa , then you will get this error. You will get rid of this error by just downloading the correct version of java jdk and eclipse ide.


2 Answers

you may have downloaded the incorrect version for you computer? as in a 64 bit/ 32 bit conflict.

I found a similar problem to yours on another stackoverflow thread.

Can't start Eclipse - Java was started but returned exit code=13

like image 118
stickler Avatar answered Oct 23 '22 14:10

stickler


You can fix it by changing the directory of line "vm" in eclipse.ini to the version you have just installed. Ex: I just updated my java to java 8 update 131 to java8 update 144 C:/Program Files/Java/jre1.8.0_131/bin

Change it to: C:/Program Files/Java/jre1.8.0_144/bin

Note: On Windows, you can check your java in C:/Program Files/Java or C:/Program Files(x86)/Java depending on 64 or 32 bit installation.

like image 21
Bla Bla Avatar answered Oct 23 '22 14:10

Bla Bla