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 th
USING THE LATEST JAVA UPDATE TOOL.
Let say you updated thru http://java.com/en/download/installed8.jsp then you just ran down thru the update process of Java and just next next the update process of Java then opening up eclipse you encountered the same issue here.
To fix this go to Environment Variables of Windows and check the "Path" variable you could notice that the Java update process added an entry similarly like this "C:\ProgramData\Oracle\Java\javapath" remove this and add "JAVA_HOME" if you have one or the location of your Java. Also note that you must enter at the start of the "Path" environment.
This happens to me and removing the added entry of Java update resolve the issue and adding also the -vm and path of the Java in the eclipse.ini.
{Sorry don't have any screenshots to prove it}
check your JAVA_HOME environment variable. Does it point to the new location. Also see log file generated as a result of the crash
I had the same challenge after i updated from java . After searching the web. I used this simple solution. Find your eclipse installation direction. Mine was under C:\Users\adefemi\eclipse\jee-neon\eclipse
Then open ecliipse.ini, go to the line that looks like this one C:/Program Files/Java/jre1.8.0_144/bin
Change the version name accordingly. For instance mine was previously C:/Program Files/Java/jre1.8.0_121/bin
That was all i had to do and eclipse started opening again.
check if the java\bin path is added in the path and inside the eclipse installation folder, there is a file called eclipse.ini and check if the vmargs are added like below.
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
Once Java updates are installed on your machine edit the eclipse.ini
file to update the latest jdk location.
In MacOS,
Show Package Contents
.Contents/Eclipse
.eclipse.ini
file.-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre/bin
to point to the latest.eclipse.ini
.Now start Eclipse application and the error got fixed.
I just added this line to the eclipse.ini file
-vm
C:\Program Files\Java\jdk1.7.0_03\bin\javaw.exe
The solution on my blog and it is now running successfully.