Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I updated java and eclipse does not work

Tags:

I updated my JRE today 23.06.2012, and after that eclipse will no longer start. When I double click to start up eclipse the splash screen appears like a camera flash and then nothing happens.

Any ideas as to how to fix this?

like image 964
Mohammad Abu Hmead Avatar asked Jun 23 '12 09:06

Mohammad Abu Hmead


People also ask

Why Java is not working in Eclipse?

Verify if you have installed a different version of JDK/JRE from your Eclipse. If you have installed 64 bits JDK version and your Eclipse version is 32 bits, it won't work. They have to be equal. If appears: "Error: This Java instance does not support a 64-bit JVM.

Does Eclipse work with Java 11?

A Java 11 JRE is recognized by Eclipse for launching. It can be added from the Window > Preferences > Java > Installed JREs > Add... page. It can also be added from the Package Explorer using the project's context menu.

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.


1 Answers

This is what worked for me: Remove the lines:

-vmargs -Dosgi.requiredJavaVersion=1.5 

Add these two lines:

-vm C:\Program Files\Java\jdk1.7.0_03\bin\javaw.exe 

Edit the path to match your installation. The ini file is generally present at $ECLIPSE_HOME/eclipse.ini Eclipse ini file

Note: You'll need to change windows security settings to get access. I recommend you don't edit this type of file in notepad (use notepad++). Backup the file before you edit.

like image 103
Brent Sandstrom Avatar answered Oct 02 '22 12:10

Brent Sandstrom