Eclipse boot problem

0

I just downloaded Eclipse (because I'm going to mess with Android development), but when trying to open it appears the message below.

The JRE is installed on my machine because I can use NetBeans normally, without problems.

Detail is that when you type "java -version" in cmd, it says that the "java" command does not exist.

  

The Java Runtime Environment (JRE) or Java Development Kit (JDK) must be   available in order to run Eclipse. No Java virtual machine was found   after searching the following locations:   D: \ Downloads \ eclipse-java-kepler-SR2-win32-x86_64 \ eclipse \ jre \ bin \ javaw.exe   javaw.exe in your current PATH

    
asked by anonymous 13.04.2014 / 04:48

1 answer

3

According to this OS response, you are not using compatible versions .

You need to have the set:

  • 64-bit OS (Operating System)
  • 64-bit Java
  • 64-bit Eclipse

Or:

  • 32-bit OS (Operating System)
  • 32-bit Java
  • 32-bit Eclipse

If this is not your problem, try adding the following (64 bit) to the eclipse.ini file:

  

-vm C: \ path-to-64bit-java \ bin \ javaw.exe

     

Example: -vm C: \ Program Files \ Java \ jdk1.7.0 \ bin \ javaw.exe

Any questions you ask in the comments, I hope I have helped.

    
13.04.2014 / 05:24