Hi all.
I installed JDK 7 x86, but Corona saying that i have no JDK.
Can i specify path to JDK manually?
I have already tryed to install different JDK versions(6 and 8), but Corona still couldnt find it
Hi all.
I installed JDK 7 x86, but Corona saying that i have no JDK.
Can i specify path to JDK manually?
I have already tryed to install different JDK versions(6 and 8), but Corona still couldnt find it
Windows or Mac?
Windows 7 x64
can someone help me with this problem?
There shouldn’t be anything you need to do other than install the JDK. Make sure to install the JDK, not the JRE. They are different. It doesn’t hurt to have both installed, I don’t believe.
Can you post a screenshot of the error?
Rob
Rob, here is screenshots(in russian language, but i highlight JDK in control panel )
There are two versions a 32 bit version and a 64 bit version. You need to installed the 32 bit version for Corona SDK’s uses.
Rob
I know about this and i have 32 bit version
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.
Uninstall all JDK
Install JDK7(x86) in C:\Program Files(x86)\Java (for me works only in this folder)
Install JRE7 in folder C:\Program Files(x86)\Java\jre
Set JAVA_HOME to C:\Program Files(x86)\Java
Set PATH to C:\Program Files(x86)\Java\bin
Click build, but Corona will say “Cant find C:\Program Files(x86)\Java\jre1.8.0_31\bin\client\jvm.dll”
Rename C:\Program Files(x86)\Java\jre to C:\Program Files(x86)\Java\jre1.8.0_31
Everything works!
Glad you got it solved.
Rob
Windows or Mac?
Windows 7 x64
can someone help me with this problem?
There shouldn’t be anything you need to do other than install the JDK. Make sure to install the JDK, not the JRE. They are different. It doesn’t hurt to have both installed, I don’t believe.
Can you post a screenshot of the error?
Rob
Rob, here is screenshots(in russian language, but i highlight JDK in control panel )
There are two versions a 32 bit version and a 64 bit version. You need to installed the 32 bit version for Corona SDK’s uses.
Rob
I know about this and i have 32 bit version