That would indicate there is probably something wrong with your Java installation which is why Eclipse cannot start. Trying re-installing Java and run the java -version command again. When java is installed correctly, you will see output like this:
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
More information would be helpful. Can you try this? Reinstall and at the command prompt, change directory to C:\Program Files\Java\jdk1.7.0_xx\bin where 'xx' should be changed to whatever Java version you are installing. Then from that directory, run java -version. If it works, then there is a problem with the environment. If you cannot find that directory, then the installation failed for some reason.
On 10/25/2013 6:15 PM, Chris Mcmahon wrote:
> Too add to this post I am having the same issue.
> I have gone as far as rolling back from Mavericks on my mac and
> reloading Mountain Lion.
> I can verify that my Java install is current through terminal.
> If I try to open eclipse it prompts me to load JRE6 ... By doing that
> it installs JRE6 in the following directory
> My actual JRE is installed here:
> I went through the other post as David suggested and manipulated my
> eclipse.ini file to reflect the proper location... Below is a copy of
> the modified file :
> This still nets the same result which is that when i try to start
> eclipse i get the error message telling me to install JRE6
The -vm entry has to be before the -vmargs entry. The way you have it,
it is being passed to the java vm not Eclipse.
I do most work on windows I'm so not too familiar with running eclipse/java on various mac versions. Could there be a possibility there is some sort of incompatibility - like having a 32 bit OS trying to launch a 64 bit Java or something similar between Eclipse and Java? If executing the command java -version never worked from within a shell from the appropriate directory then I would check to make sure that all the various installs match - 64 bit OS/Java/Eclipse or 32 bit as appropriate.