Unable to install Android for Windows 7 because JDK is not found

Posted by user1294663 on Super User See other posts from Super User or by user1294663
Published on 2012-05-28T13:42:36Z Indexed on 2012/10/15 9:41 UTC
Read the original article Hit count: 261

Filed under:
|
|
|
|

I have JDK SE7u4 installed in windows 7. I tried to install Android on Windows 7 using the installer_r18-windows.exe but no avail.

The setup window showed the message saying that the Java SE JDK not found and

ERROR: Failed to find Java version for C:\Windows\System32\java.exe
The system cannot found the file specified.

If you believe you have a JDK installed and it was not properly recognized, simply set an environment variable JAVA_HOME to point to it

I right clicked on Computer > Properties > Advanced System Settings > Environment variables. I created a NEW system variable called JAVA_HOME and set the value as C:\Program Files\Java\jdk1.7.0_04\bin or C:\Windows\System32\java.exe.

I ran the installer again — the same error message still appeared.

© Super User or respective owner

Related posts about Windows

Related posts about java