Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 3 of 3
Like Tree2Likes
  • 2 Post By Jerry Hildenbrand
  1. Thread Author  Thread Author    #1  
    Jerry Hildenbrand's Avatar
    AC Cowboy

    Posts
    6,337 Posts
    Global Posts
    6,852 Global Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default 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
    sblood86 and caretaker007 like this.
  2. #2  
    OldChicagoPete's Avatar

    Posts
    16 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Installing SDK (r18) and JDK on a Win7 64bit PC (Java fix)

    Adding the JAVA_HOME environment variable worked for me, only took a few seconds. The correct value for me was C:\Program Files\Java\jdk1.7.0_03
  3. #3  
    harrisonford265's Avatar

    Posts
    32 Posts
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Installing SDK (r18) and JDK on a Win7 64bit PC (Java fix)

    Thanks man for sharing such a useful information in past few days i was very annoyed by this problem on computer.

Posting Permissions