Trying to install the Android SDK on my Windows 7 x64 System.
jdk-6u23-windows-x64.exeis installed, but the Android SDK setup refuses to proceed, because it doesn't find the JDK installation.
Is this a known issue? And is there a solution?
Press Back when you get the notification and then Next. This time it will find the JDK
May be sometimes this do also
Install the x64 JDK, and try the back-next option first, and then try setting
JAVA_HOMElike the error message says, but if that doesn't work for you either, then try this:
Do as it says, set
JAVA_HOMEin your environment variables, but in the path use forward slashes instead of backslashes.
For me it failed when
C:\Program Files\Java\jdk1.6.0_31but worked fine when it was
C:/Program Files/Java/jdk1.6.0_31- drove me nuts!
and Dont Forget to do this too.
Found the solution and it's beautifully stupid. I found Android SDK cannot detect JDK.
Press the Back button on the SDK error screen that tells you that the EXE couldn't detect the JDK. Then press Next.
Who would have thought that would happen?
From Stack OverFlow: http://stackoverflow.com/questions/4382178/android-sdk-installation-doesnt-find-jdk