How do I locate my JDK for Android Development
After installing the Android SDK I attempted to run the Emulator and received this error:
[ERROR] Error locating JDK: set $JAVA_HOME or put javac and jarsigner on your $PATH
I'm not sure of two things:
1.Where my JDK is(i believe i downloaded and installed it)
2.How to point to it in Windows 7
Can anyone assist?
4 Answers
-
Accepted Answer
The JDK is probably stored in Program Files. You to add an environment variable for JAVA_HOME and point it to the root directory of the JDK. You also need to prepend the bin directory of the JDK into your PATH.
-
http://www.youtube.com/watch?v=u5kPBURZL1Y&feature=related
this is what i did and it worked for me
-
it is located in the c:/program files/java/bin folder
-
http://www.youtube.com/watch?v=u5kPBURZL1Y&feature=related
this is what i did and it worked for me