Category Archives: Programming

Sponsored Links

Java SE Development Kit not found

Solve Android SDK failed to find Java.exe error

I was trying to setup Android SDK on my new laptop which is running on Windows 7 Ultimate – 64 bit edition. After installing  Java SE on my machine I tried to install Android SDK manager which resulted in the error shown below.

After googling a bit about this error. I came across various solutions. There are two different working solutions for this depending on your problem. Try both of them.

  1. Right click on “Computer” -> Properties -> Advanced System Settings ->Environment Variables. There in the System variables create a new variable and name it as JAVA_HOME and set its value to JDK folder path. In my case it was “C:\\Program Files\\Java\\jdk1.7.0_05”.  Click OK. Try installing SDK again. If this doesn’t work try the next solution.
  2. Go to the path shown in error message. On my machine it was “C:\\Windows\\System32\\Java.exe”. There rename the Java.exe file to Java_1.exe. Now try installing the SDK again. This time it should work. This happens if there are two different versions of java.exe in your system. Android SDK will be unable to determine which one to use. This was the reason on my machine and this one worked for me.

Hope this will be useful for someone.

 

Incoming search terms for the article: