Co Koder
Co Koder

Reputation: 2221

Failed to find jdk

I am trying to install android sdk, but I am having a problem. First, I have installed java (JDK) 7u5 and then I tried to install android sdk 20.exe then I got the below error. How can I fix that problem ?

The error

Upvotes: 0

Views: 409

Answers (2)

kosa
kosa

Reputation: 66637

  • First, find out where you have JAVA folder on your machine.
  • Second, make sure it has JDK also not just JRE.
  • Third, create environment variable--Computer right click--> properties--->Advanced settings --create JAVA_HOME varaible and set the JAVA folder path there. Make sure bin folder is not included in classpath.

Upvotes: 1

user1071979
user1071979

Reputation: 1791

After Installing JDK you have to set the path in eclipse as to where you JDK exists. Please go through these steps: http://developer.android.com/sdk/installing/installing-adt.html

Upvotes: 0

Related Questions