John Vasiliou John Vasiliou - 3 days ago 5
Java Question

Cannot get Eclipse IDE to run

I'm trying to install Eclipse IDE Classic.

I've unzipped the folder and it's on my Desktop. I double click on the eclipse.exe file and I had a Java error so within the eclipse.ini file I changed my JDK location as follows:

-vm
C:\Program Files\Java\jre7\bin\javaw.exe


Now, I get the following error:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


My JDK is up to datem I've updated it and even tried a fresh install.
I've also tried other Eclipse IDE versions and searched the net for this problem yet I can't find a solution which works.

Answer

In my eclipse.ini file there is no space between the -vm and the directory of the vm. I remember reading something about this before, worth giving it a shot.

-vmC:\Program Files\Java\jre7\bin\javaw.exe

Comments