I reinstalled the JDK tonight because of the embedded space in Program File... and now Eclipse blows up immediately when starting. Is there a config file that needs updating? I tried eclipse -clean with nu luck.
Peace, Scott
I reinstalled the JDK tonight because of the embedded space in Program File... and now Eclipse blows up immediately when starting. Is there a config file that needs updating? I tried eclipse -clean with nu luck.
Peace, Scott
did you eclipse.ini file in the eclipse directory point to a specific -vm? You may need to change it in you eclipse directory.
What OS are you using? You need to let eclipse know where your jdk lives. On windows at least it is in the exclipse.ini, change it to put to your knew jdk and it will work
for example on windows you will need something like this in your eclipse.ini
-vm
C:\jdk1.6.0_02\jre\bin\java
You can find your eclipse.ini in the root directory of your eclipse installation (ie: where eclipse.exe is)
while eclipse starting it requires java.exe and javaw.exe. so when you installed it at other places. you should specify its location in PATH variable so that it can be used to locate your JVM.
EDIT: and of course remove the old entry.
You can also get this error if you have a 64-bit jre and 32-bit eclipse, so just make sure your jre and eclipse build match up!
You must have fixed this problem by now but I don't see anything in this thread to indicate that.
I just had the same problem. I updated JDK. The next time I tried to start Eclipse it wouldn't. I fixed the problem by removing all older versions of java and setting the new version in my PATH system environment variable. Actually, I also reinstalled my eclipse but I don't think that had anything to do with the solution. By the way, I'm using Eclipse Galileo (Build id: 20090621-0832) and jdk1.6.0_021.