Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Android SDK on Windows 7 64-bit: "JDK not found"? [duplicate]

Tags:

android

sdk

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:

http://imgur.com/xAcw5.jpg

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.

like image 831
Trevor Bartlett Avatar asked Dec 08 '10 05:12

Trevor Bartlett


2 Answers

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/

like image 126
azureru Avatar answered Sep 24 '22 13:09

azureru


I have this same problem on my new PC, and now I found this and it works:

Windows 7:

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. 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.
  5. 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

like image 27
Kin Avatar answered Sep 23 '22 13:09

Kin