Installing SDK (r18) and JDK on a Win7 64bit PC (Java fix)
Just got a new laptop, and while setting it all up (fun times!) I ran into an issue that it looks like a lot of folks are having -- the latest version of the Android SDK is busted when looking for a 64bit Java installation on Win7 64bit. When you try it, it tells you Java can't be found, and you should install it or edit the Java_Home system variable.
Here's a much easier fix.
Install the latest version of the JDK
Download the zip version of the SDK for Windows (not the installer)
Unzip it wherever you like
replace the sdk\tools\lib\find_java.bat file with the attached file.
Run the SDK setup as normal
There's a bug in the r18 find_java.bat file, which causes it to look in the wrong location for java.exe and javaw.exe on 64bit Windows. I just attached the version from r16, which doesn't have the bugಠ_ಠ
- 04-12-2012, 10:30 AM #2
- 04-16-2012, 08:16 AM #3