Android SDK not installing on win 7 64-bit

android, java

Solution

It's JDK, not Java, it's missing. JAVA_HOME shouldn't point to the java.exe file. It should point to the jdk-folder. Typically `C:\Program Files\Java\jdk1.6.0_23` or similar. If you haven't got a jdk-folder somewhere, you should install JDK from here.

Note that the official requirement for developing for Android is JDK 6.

Problem

I am trying to install Android SDK on windows 7 64-bit but it doesn't work. I keep getting this screen: ``` JAVA SE Development Kit (JDK) not found. Error: Failed to find Java version for 'C:\Windows\system32\java.exe': [2] The system cannot find the file specified. (...) If you believe you have a JDK installed and it was not properly recognized, simply set an environment variable JAVA_HOME to point to it. ``` I tried setting `JAVA_HOME` to `C:\Windows\System32\java.exe` (which is my install path) and it still doesn't work. In the command line i tested the version with `java -version` and it works perfectly. Tried the old trick of back and next but sadly doesn't work. this is so disappointing.... any suggestions?

Original source

Related problems