Android SDK installation doesn't find JDK


Problem:
Trying to install the Android SDK on my Windows 7 x64 System. jdk-6u23-windows-x64.exe is 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?
SDK Error

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_HOME like the error message says, but if that doesn't work for you either, then try this:
Do as it says, set JAVA_HOME in your environment variables, but in the path use forward slashes instead of backslashes.
Seriously.
For me it failed when JAVA_HOME was C:\Program Files\Java\jdk1.6.0_31 but 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


Android SDK installation doesn't find JDK Android SDK installation doesn't find JDK Reviewed by D Kshetri on 9:02 AM Rating: 5

No comments:

Powered by Blogger.