Eclipse was running fine yesterday (and has been since I installed it about a year ago). Now all the sudden I\'m getting the following error on startup:
\"A
eclipse.ini:
--launcher.defaultAction
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize<br/>
256m
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
-vm
C:\Program Files\Java\jdk1.7.0_21\jre\bin\server\jvm.dll<br/>
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7
That worked for me. It doesnt have to be on the beginning, but surely it cant be at the end of the file.
This happened to me also. And I found the javaw.exe in C:\Windows\System32 got deleted after the windows update. Copied one more time and Eclipse started all fine.
you can also copy your JRE folder to eclipse directory and it will work corectly
My solution is Include JDK's "bin" Directory in the PATH
To edit the PATH
environment variable in Windows 7/8/10:
I came across same issue y'day, with PATH etc configured correctly. It can be opened from command line, just now working by a double click.
And it was working now, by just "Run as administrator" :)
I had the same problem. I my case it was a program i've install that had destroyed the PATH env variable.
so check your PATH environment variable.