Reputation: 68810
On Windows 7 I have installed the Java SE JDK, then rebooted.
When I then run the Android SDK installer, there is a warning that the JDK is not installed.
Upvotes: 1
Views: 6644
Reputation: 39
You Should Create an Environment Variable to Point to Your java Directory. Go to My Computer > right click on a free space > choose properties > in the left column choose "Advance System Setting" > Go to Advance tab > push Environment variable button > in System Variable click on New :
Variable name : JAVA_HOME Variable value: C:\Program Files\Java\jdk1.7.0_06
You should be careful about path if you add path like this "C:\Program Files\Java\jdk1.7.0_06\bin" or this one "C:\Program Files\Java" it will not work.
Upvotes: 1
Reputation:
My is configuration Windows 7 64-bit.
I didn't want to uninstall 64-bit jdk and the other suggestions weren't working. So I just downloaded the 32-bit and re-ran the windows installer.
Voila, it works and doesn't take the 32-bit either. It takes the 64-bit higher version instead.
I feel it just feels safe with the presence of the 32-bit jdk :P
Upvotes: 0
Reputation: 89
When you downloaded sdk, running via browser's downloaded files section right? application can't detect java in this state. if you run it via directly its own folder, it will find sdk. simple
Upvotes: 0
Reputation: 2319
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 softwares that you are installing should be 32 bit. Android SDK itself is 32 bit and it identifies only 32 bit JDK. So install following softwares.
i tried it and all works fine.
Upvotes: 1
Reputation: 42342
Did you install 32-bit version or 64-bit version?
Check out here for Windows 7 / Android Tools setup :
Also, check out your PATH environment variables to confirm JDK is setup and referenced!
And as commented below, also check out JAVA_HOME variable.
Upvotes: 2
Reputation: 68810
I found that if I press the Back button on the Android SDK installer, then press the Next button again, it works!
Upvotes: 2