Yes, I had a misunderstanding from the Android documentation, I think you can use any JDK version as long as it's at least version 8, because in the gradle config, we declare that we want to compile for JDK 1.8 at https://github.com/apache/cordova-android/blob/a830145f36c8bba2ecdf7910f3699116d4c2f018/framework/build.gradle#L58-L61

I would +1 easing the restriction of the JDK version check so that it allows JDK 8+ so users don't need to have multiple java environments installed just to use Cordova. JDK8 end of life is also at the end of this year.

On 2020-06-08 5:04 a.m., julio cesar sanchez wrote:
There is a PR to allow any jdk version, we mistakenly thought java 8 was
required for android development, but looks like we were wrong.

https://github.com/apache/cordova-android/pull/928


El lunes, 8 de junio de 2020, Darryl Pogue <dar...@dpogue.ca> escribió:

On Sun, Jun 7, 2020 at 7:49 PM Chris Brody <chris.br...@gmail.com> wrote:
Another thing is that many build systems are now using a Gradle wrapper,
while Cordova still needs the Gradle tool to be installed in its search
path. This may be related to a nasty-looking issue here:
https://github.com/apache/cordova-android/issues/845
I seem to recall that we have to use the system-installed gradle to
generate our gradle wrapper, because the wrapper depends on a JAR file
and we're not allowed to distribute JAR files.

Previous mailing list discussion regarding gradle wrapper distribution:
https://lists.apache.org/thread.html/9fcaf3cd6b22e9cd6d09e17ff5956b
f661c3560be923f734dcc4450e%401403096149%40%3Cdev.cordova.apache.org%3E

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to