Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK install: Java SE development Kit (JDK) not found [duplicate]

Windows 7 32 bit has the same behaviour as Windows XP SP3. Hit BACK and then NEXT again and you're able to install the Android SDK.


The answer is bang on, but some clarification that might help some not familiar with registry editing (like me).

  1. Run regedit.
  2. Find [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit]
  3. Right click on the key and click export, then save the file to the desktop.
  4. Right click then click edit.
  5. Add Wow6432Node to the path of each key in the file. See above (@Rog_enk) for an example. Save.
  6. Back in regedit, click File->Import and select the file from above. Done.
  7. Try the SDK installer again.

On Windows 7 x64 the Android SDK Installer is looking for the JDK in the HKLM\SOFTWARE\Wow6432Node\JavaSoft registry branch.

But in reality the JavaSoft entry was placed in HKLM\SOFTWARE\JavaSoft. I copied all JavaSoft branch to the path search, and then the installer found the JDK.


Just press back, then next and it will find it. Android SDK installation doesn't find JDK


Windows 7 64 bit - same behaviour as windows XP SP3 and Windows 7 32 bit: Just set JAVA_HOME = C:\Program Files\Java\jdk1.6.0_14 or whatever your actual path, start SDK, and after you'll get error - hit BACK and than NEXT again and you're able to install the Andriod SDK