I’ve been reading lately about how the OracleJDK is now a commercial offering, and using it for production software will require a license. Does this impact my Corona development at all? I know a JDK is required to build for Android, but should I be looking into using OpenJDK instead? Would it just be safer to just use OpenJDK or does Corona specifically require OracleJDK (that is what I was linked to from the simulator when I tried to build for Android). Just wanted to make sure I’m not going to be getting a call from Oracle looking to hit me with penalty fees.
Actually I believe Corona will work with any JDK/JRE. Also, it seems like you can use latest JDK for free, it affects only old versions.
I’m totally new with Corona and I’ve never used Java JDK before, now I’ve heard of the new Java licenses and I don’t know what I have do to in order to respect Oracle’s licenses and avoid any legal problem, please can someone tell me which version of JDK I have do download (Java SE? OpenJDK? which version number?) in order to compile apps for Android (using Windows 10 64bit as the development machine)? Do Oracle’s new licenses affect someway apps built with Corona? Thanks a lot for your time and attention and thanks in advance for any answer.
After reading over many Java dev posts on the topic I personally decided it was safer to just use OpenJDK.
Here is what I did to get it working with Corona:
-
Download the latest stable Win64 OpenJDK build from the OpenJDK site: https://jdk.java.net/12/
-
Since this is not an installer package, unzip the files into: C:\Program Files\Java
-
Since Corona uses the Windows registry entries over the PATH or JAVA_HOME environment variables add the following registry keys (obviously change versions to whatever you are using):
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK] “CurrentVersion”=“12” [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\12] “JavaHome”=“C:\Program Files\Java\jdk-12.0.1”
*** Optionally you could also just download and use a pre-built installer from
https://adoptopenjdk.net/installation.html or https://github.com/ojdkbuild/ojdkbuild
Actually I believe Corona will work with any JDK/JRE. Also, it seems like you can use latest JDK for free, it affects only old versions.
I’m totally new with Corona and I’ve never used Java JDK before, now I’ve heard of the new Java licenses and I don’t know what I have do to in order to respect Oracle’s licenses and avoid any legal problem, please can someone tell me which version of JDK I have do download (Java SE? OpenJDK? which version number?) in order to compile apps for Android (using Windows 10 64bit as the development machine)? Do Oracle’s new licenses affect someway apps built with Corona? Thanks a lot for your time and attention and thanks in advance for any answer.
After reading over many Java dev posts on the topic I personally decided it was safer to just use OpenJDK.
Here is what I did to get it working with Corona:
-
Download the latest stable Win64 OpenJDK build from the OpenJDK site: https://jdk.java.net/12/
-
Since this is not an installer package, unzip the files into: C:\Program Files\Java
-
Since Corona uses the Windows registry entries over the PATH or JAVA_HOME environment variables add the following registry keys (obviously change versions to whatever you are using):
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK] “CurrentVersion”=“12” [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\12] “JavaHome”=“C:\Program Files\Java\jdk-12.0.1”
*** Optionally you could also just download and use a pre-built installer from
https://adoptopenjdk.net/installation.html or https://github.com/ojdkbuild/ojdkbuild