0

I have installed the JDK and then I installed the Android SDK and its package for Android 7 and 10. I can create a virtual machine for Android and see it, but when I try to run eclipse, a error message box opens and says "Can't find javaw.exe in this location" (the directory where eclipse is located), and I am unable to run Eclipse.

Any help resolving this issue would be much appreciated

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
abbas mahmudi
  • 175
  • 2
  • 2
  • 13

1 Answers1

1

You should install java runtime environment seperately.. Or if that also doesn't solve ur problem final working solution would be add environment variable of JDK or JRE on ur windows7.

Hope this would solve your problem. Cheers!

Murtaza
  • 308
  • 1
  • 3
  • 18
  • you mean that i install jdk again? – abbas mahmudi Jul 10 '12 at 09:15
  • 1
    Don't forget to Hit "Solved" if your problem get solved, so this question is removed from **Unanswered** category, so other stackoverflow mates could spend their precious time in answering other questions. Thankyou. – Murtaza Jul 10 '12 at 09:16
  • 1
    You have installed jdk right? Just install jre seperately[because once this thing solved my problem] else adding an environment variable in windows7 by giving path to ur current javaw.exe would definitely solve ur problem – Murtaza Jul 10 '12 at 09:17
  • I use eclips in my base win and its run easyly but in vmware after install sdk ,its dont run – abbas mahmudi Jul 10 '12 at 09:19
  • 1
    Ok, but try it by adding an environment variable of javaw in ur vmware. It would work. – Murtaza Jul 10 '12 at 09:23
  • 1
    Open up Windows' System Properties from the control panel and hunt down the environment variables section: Add a JAVA_HOME entry pointing to the directory where the JDK is installed (e.g. C:\Program Files\Java\jre6) Find the Path entry and add the following onto the end ;%JAVA_HOME%\bin OK the changes Restart eclipse so that it is aware of the new environment Most Java tools will now be able to find your Java installation either by using the JAVA_HOME environment variable or by looking for java.exe / javaw.exe in the Path environment variable. – Murtaza Jul 10 '12 at 09:31
  • 1
    If you dont understand the above. Try following this [link](http://www.itcsolutions.eu/2010/11/29/set-environment-variables-in-windows-7-for-java/) – Murtaza Jul 10 '12 at 09:31
  • ok tnx,i do it and test java in cmd and its successed but now error is:faild load jvm.dll – abbas mahmudi Jul 10 '12 at 10:20