I'm trying to install the Android SDK on my Windows 7 x64 System. jdk-6u23-windows-x64.exe
is installed, but the Android SDK setup refuses to proceed, because it doesn't find the JDK installation.
Is this a known issue? And is there a solution?
I'm trying to install the Android SDK on my Windows 7 x64 System. Is this a known issue? And is there a solution? |
|||||||||
|
For installer_r21.1-windows.exe on Windows 8 x 64 what worked for me was setting up my user environment variable JAVA_HOME to C:\Program Files\Java\jdk1.7.0_10. Hope this helps you all! :) |
||||
|
None of the solutions here worked for the 64bit version. Putting the JDK path before the c:\windows\system32\ path in your environment variables solves the problem. Otherwise the 32bit java.exe is found before the 64bit JDK version. |
||||
|
WORKING SOLUTION AND NO REGISTRY MODIFY NEEDED Simply put your java bin path in front of your PATH environment. PATH before
PATH after
And now the stupid Android SDK installer working. BTW, I'm running Win7 x64. |
||||
|
The guy above who put this: "I experienced this problem too, but none of the answers helped. What I did, I removed the last backslash from the JAVA_HOME variable and it started working. Also, remember not to include the bin folder in the path." This was in fact the correct answer. For this SDK to install this is what I did. I am running the latest Microsoft OS Windows 8. User Variables: Path C:\Program Files\Java\jdk1.7.0_07\bin Environment Variables Create these two: CLASSPATH %HOME_JAVA%\jre\lib HOME_JAVA C:\Program Files\Java\jdk1.7.0_09 This one already exists so just edit: Path At this end of WindowsPowerShell\v1.0\ simply add ";C:\Program Files\Java\jdk1.7.0_09" This is what I did and it worked for me. =) |
||||
|
I spent a little over an hour trying just about every option presented. I eventually figured out that I had a lot of stale entries for software that I had uninstalled. I deleted all the registry nodes that had any stale data (pointed to the wrong directory). This included the
and
entries as a JRE included in the JDK. I also got rid of all the JAVA entries in my environmental variables. I guess I blame it on bad uninstallers that do not clean up after themselves. |
||||
|
Setting the
instead of
fixed it for me. |
||||
|
After reading a couple of blog posts, it does seem to be even an easier fix by clicking BACK when the installer says couldn't find the JDK, and then simply click NEXT again and magically it finds the JDK. No registry messing around or re-downloading etc.. |
||||
|
Install the x64 JDK, and try the back-next option first, and then try setting Do as it says, set Seriously. For me it failed when |
|||||||||||||||||||||
|
Non of these solutions worked for me. I fixed it by temporarily changing the filename of |
||||
|
The above methods did not work for me in Windows 8 Pro. Just set the path to
Where C is your drive in which you have installed the jdk. Dont forget the backward slash at the end. |
||||
|
install both it worked in my case. |
||||
|
In my case problem was in JAVA_TOOL_OPTIONS environment variable. Nothing helps me until I removed it. Hope it help someone! |
||||
|
You might want to restart your machine. For me, without having to use forward slashes it worked after I restarted windows. |
||||
|
This issue has been fixed on SDK revision 20.xxx Download it via http://dl.google.com/android/installer_r20.0.3-windows.exe |
||||
|
Android SDK is 32 bit app, and it requires the 32 bit of JDK to work... the 64 bit JDK won't make any use for it... |
||||
|
I tried several posted solutions and then it took a system reboot before it started working, which may have been because I had just installed the JDK. Here are all the things I had going on - not sure which ones were essential:
|
||||
|
For windows users: You would set JAVA_HOME environment variable: http://wso2.org/project/wsas/java/1.1/docs/setting-java-home.html |
||||
|
It is bug in android installer.Download latest installer and try it.Then it will work. |
||||
|
Press Back when you get the notification and then Next. This time it will find the JDK. |
|||||||||||||||||||||
|
I experienced this problem too, but none of the answers helped. What I did, I removed the last backslash from the JAVA_HOME variable and it started working. Also, remember not to include the bin folder in the path. |
||||
|
All you need are the following two registry entries. It appears as if whoever posted the other registry stuff basically just copied all the keys from
|
||||
|
I had the same problem, tried all the solutions but nothing worked. The problem is with Windows 7 installed is 64 bit and all the software that you are installing should be 32 bit. Android SDK itself is 32 bit and it identifies only 32 bit JDK. So install following software.
I tried it and all works fine. |
||||
|
Adding JAVA_HOME environment variable (under System Variables) did the trick for me. Clicking "Back" and "Next" buttons didn't work. Windows 7 Professional x64, JDK 1.7.0_04 (64 bit, I don't have x86 version installed) I think that installer tries to find JDK in specific (1.6?) version and if it can't find it, checks JAVA_HOME which was not set in my case. I have another computer (the same system but with JDK 1.6 x64) and it worked without JAVA_HOME variable. You don't have to install 32 bit version of JDK :) |
|||||||||
|
Warning: As a commenter mentioned, dont try this on a Windows7!!!! I tested it with WinXP-64. As the posted Solution does NOT work for all (including me, myself, and i), i want to leave a note for those seeking for another way (without registry hacking etcpp) to solve this on on a Win64. Just add PATH (capital letters!!) to your environment Variables and set the Value to your JDK-Path. I added JDK to the existing "Path" wich did not work, like it didnt with JAVA_HOME or the "Back"-Solution. Adding it to "PATH" finally did the trick. I hope for some this might be helpful |
|||||||||
|
Press Report error and OK. Next will be enabled. |
||||
|
I had the same problem and solved it by installing the x86 version of the JDK (on Windows XP x64). |
||||
|
I found the solution and it's beautifully stupid. I found Android SDK cannot detect JDK. Press the Back button on the SDK error screen that tells you that the EXE couldn't detect the JDK. Then press Next. Who would have thought that would happen? |
||||
|
I downloaded the .zip archive instead and ran |
||||
|
Yeah install the 32 bit version of the Java SE SDK (or any of the combinations). That should help solve your problem. |
|||||
|
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.