jdk not found in windows 7
I have installed jdk-7u7-windows-x64 on my windows 7 (64 bit) machine, but when I try to install to installer_r20.0.3-windows gives me the following error
Java SE Development Kit not found. Failed to find Java version on "C:\Windows\system32\java.exe". The system cannot find the file specified
I have set the system variable JAVA_HOME to
but it doesn't help.
Since installer_r20.0.3-windows is the installer for the Android SDK;
From the System requirements of the Android SDK (here, click System Requirements)
JDK 6 (JRE alone is not sufficient)
You've installed JDK7 which is not listed as working. I'd recommend you install a 32 bit JDK6 since it's a known working configuration. 64-bit should work, but the installer is known to have had some issues with that version.
You set jre path not jdk path. After installing JDK, the default path is something similar to C:\Program Files\Java\jdk1.7.07. Add this to path as JAVA_HOME and then test the installation with cmd javac -version in command line.
i solved problem . first delete c:\windows\system32\java.exe . when deleted re install JDK and run installer_r22.0.1-windows ( ur version ) .