GitHub user erisu added a comment to the discussion: cordova-android 14: Java 
JDK 11 or 17?

The Java version mentioned in the blog post refers to the **Source and Target 
Compatibility**, which defines the language features and bytecode level your 
project compiles to. This is different from the JDK installed on the build 
system, which is the actual toolchain used during compilation.

As the Android Platform Guide notes, the build environment should use JDK 17. 
We set this requirement based on the Android Gradle Plugin (AGP), not from the 
source/target compatibility settings.

For example, Cordova-Android 13.x and 14.x use AGP 8.x, and AGP 8.0+ requires 
JDK 17 to run.

GitHub link: 
https://github.com/apache/cordova/discussions/564#discussioncomment-14233614

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


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

Reply via email to