That's what he said.

Windows 7 x64 Registry Fix for JDK/Android SDK

Sun, 12/12/2010 - 16:40 -- Doug

Planning on installing the Android SDK to your 64-bit Windows 7 machine? Here's something I wish I had known before I bashed my head against the wall for an hour trying to get the installer  to find my JDK install. Guess what? It's looking in the wrong place. 

No worries, though. In the name of world peace, happy commutes and free beer, here's a registry patch that should make the ordeal a hell of a lot faster for you than it was for me. Just paste the text below into a plain-text editor and save the file with a .reg extension. Double-click the file and try to install the Android SDK again. It should work like a charm!

Now, a word of caution.  Look over the paths and make sure that it matches your JDK install before you run it. This is your registry we're talking about here, so if you don't know what the hell you're doing, I'm not going to accept responsibility for your dead computer. 

Now, the registry fix:

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft]

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit]

"CurrentVersion"="1.6"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.6]

"JavaHome"="C:\\Program Files\\Java\\jdk1.6.0_23"

"MicroVersion"="0"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.6.0_23]

"JavaHome"="C:\\Program Files\\Java\\jdk1.6.0_23"

"MicroVersion"="0"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Plug-in]

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Plug-in\1.6.0_23]

"JavaHome"="C:\\Program Files\\Java\\jre6"

"UseJava2IExplorer"=dword:00000001

"UseNewJavaPlugin"=dword:00000001

"HideSystemTrayIcon"=dword:00000000

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment]

"Java6FamilyVersion"="1.6.0_23"

"CurrentVersion"="1.6"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\1.6]

"JavaHome"="C:\\Program Files\\Java\\jre6"

"RuntimeLib"="C:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"

"MicroVersion"="0"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\1.6.0_23]

"JavaHome"="C:\\Program Files\\Java\\jre6"

"MicroVersion"="0"

"RuntimeLib"="C:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\1.6.0_23\MSI]

"JU"="1"

"OEMUPDATE"=""

"MODE"="C"

"JQS"=""

"FROMVERSION"="NA"

"FROMVERSIONFULL"=""

"KERNEL"=""

"PRODUCTVERSION"="6.0.230"

"INSTALLDIR"="C:\\Program Files\\Java\\jre6\\"

"SYSTRAY"="1"

"EULA"="0"

"IEXPLORER"="1"

"MOZILLA"="0"

"JAVAUPDATE"="1"

"AUTOUPDATECHECK"="1"

"AUTOUPDATEDELAY"=""

"ImageCkSum"="2272295289"

"FullVersion"="1.6.0_23-b05"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start]

"CurrentVersion"="1.6.0_23"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.0.1]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.0.1_02]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.0.1_03]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.0.1_04]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.2]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.2.0_01]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start\1.6.0_23]

"Home"="C:\\Program Files\\Java\\jre6\\bin"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Prefs]