Installing Android SDK on Windows 7 64-bit: "JDK not found"? [duplicate]
Possible Duplicate:
Android SDK installation doesn't find JDK
I am unable to install the android SDK. It requests that开发者_运维问答 I have the JDK, which I do. I re-downloaded and reinstalled the Java JDK. I restarted my computer, I ran this install again for the android SDK... nothing... it won't let me get past this point. Here is a screen shot of the screen I'm stuck on:
I've googled my problem, I've spent 2 hours trying to find the answer... the closest I could get would be something about adding a "Path" to my "Environment Variables." I found where the environment variables are in Windows 7, but I don't have the slightest clue what I am supposed to do.
Found this last night Android SDK install problem and now I can install it on my Win7 64bit + JDK 64bit
Somehow the r8 SDK installer are looking for JDK path inside 32bit registry key while I am installing 64bit JDK.
Update Believe it or not, clicking Back and Next will fix it :) (someone comment on my blog post about it and judging from the others comments, it kind of works)
Disclaimer: This is my blog http://codearetoy.wordpress.com/2010/12/23/jdk-not-found-on-installing-android-sdk/
I have this same problem on my new PC, and now I found this and it works:
Windows 7:
- From the desktop, right click the Computer icon.
- Choose Properties from the context menu.
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
- In the Edit System Variable (or New System Variable) window, SET the value of the PATH environment variable TO JAVA_HOME. Click OK. Close all remaining windows by clicking OK.
Then it will have no problem on installing the Android sdk Source: http://docs.oracle.com/javase/tutorial/essential/environment/paths.html
I've always installed Java JDK 32-bit from here. Seems to be the easiest way, works properly, and I don't really see why one would need 64-bit when doing Android programming.
I had the same issue, but I found a way to fix it. When you get that box go and download it again; after it has downloaded, go back to the pop up box and hit the back button and then click next again and it should recognize that you have the JDK installed. Hope this helps, and good luck.
you got to download jdk basic from oracle.com i was getting that too. visit that site and it will take you straight there. scroll down and to the first jdk/jre download the correct system type. install it and sdk should pop up after it done.
I installed the 64bit version of JDK from this site
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u23-oth-JPR@CDS-CDS_Developer I had no problems installing android
精彩评论