Couldnt find JDK(Windows 7 x64)

I can’t build apps anymore :( 

I’ve reinstalled all versions jdk since jdk6(x86 and x64) , but it doesnt help. Do you have any solution?

Does Corona use JAVA_HOME?

No, it does not.  There was another thread related to this.  Here is what the engineers had to say:

If the warning is happening before he displays the Android build window, then the Corona Simulator is failing to find the JDK via the registry.  That’s the rarer case and I believe it’ll only fail if you *only* have the 64-bit JDK installed at the moment.  It can also happen if you don’t install it using Oracle’s standard install program (most people would, so, I don’t see this being the issue).

If the warning is happening when you press the “Build” button within the Android build dialog, then it’s likely an issue with his PATH environment variable.  There is an outstanding issue with the Windows version of the Corona Simulator for the past 4 years where the build process will use the first JDK version referenced in the PATH environment variable instead of the one the Corona Simulator is telling the build process to use.  Meaning that the PATH environment variable is overriding which JDK the Corona Simulator is trying to use.

We don’t officially support 64 bit for Android, but we know developers who are using it successfully.  It’s best to stick to a 32bit JDK 6 or 7 if you can.

Rob

Rob, thanks for your help. 

I’ve solved problem.

  1. Uninstall all JDK

  2. Install JDK7(x86) in C:\Program Files(x86)\Java (for me works only in this folder)

  3. Install JRE7 in folder C:\Program Files(x86)\Java\jre

  4. Set JAVA_HOME to C:\Program Files(x86)\Java

  5. Set PATH to C:\Program Files(x86)\Java\bin

  6. Click build, but  Corona will say “Cant find C:\Program Files(x86)\Java\jre1.8.0_31\bin\client\jvm.dll”

  7. Rename C:\Program Files(x86)\Java\jre to C:\Program Files(x86)\Java\jre1.8.0_31

  8. Everything works!

Glad you got it solved.

Rob