0

Possible Duplicate:
Eclipse - no Java (JRE) / (JDK) … no virtual machine

I installed the Android SDK and it mentioned that I should download eclipse as well, but when I download and try to run the eclipse.exe, I recieve a message stating "A Java Runtime Environment or Java development kit must be available in order to run eclipse....". I do have JDK, which is the only way the Android SDK would have been installed. Any suggestions?

Community
  • 1
  • 1
Josh Smith
  • 23
  • 1
  • 2
  • 5

1 Answers1

6

Set your computer's PATH (environmental variable) to the bin folder of your JDK. Here's how: Windows 7-Start->Control Panel->System and Security->System->Advanced system settings(panel on the left)->Advanced->Environmental Variables(bottom). Under System Variables find PATH. Select it and hit edit. Point it to the bin of the jdk. If that doesn't work try adding a JAVA_HOME variable to the User variables ( hit new than enter JAVA_HOME for name and the value is the bin folder again). Hopefully that should do it. I feel your pain the same thing happened to me when I first started.

ninge
  • 1,592
  • 1
  • 20
  • 40