I am trying to get Eclipse v3.5 (Galileo) to re-run on my computer - I have run it before with no problems, but now I keep getting this error:
The reason you get this error is because eclipse needs a JRE to launch, which it can't find. The first place it searches is the current directory, then the eclipse.ini file and then finally the system path. So if the it can't find the correct jvm(bit versions are different) through any of these three places, it cribs
The recommended way is to edit the eclipse.ini file and tell eclipse where exactly to look for the vm/jre, by including this line in the file:
-vm
[path to your java.exe] (which is generally under "C:\Program Files\Java\jre7\bin")
P.S. To edit the eclipse.ini, you may need to move the it, edit and then paste it back
Source:- wiki