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.
Best Answer
You might have a different problem, but here is the solution I found to the same error message:
C:\Windows\system32
java.exe
to something else, for examplejava2.exe
Thanks to: http://www.androidbeats.in/android-sdk-failed-to-find-java-exe/4251/