breautek commented on issue #1685:
URL: 
https://github.com/apache/cordova-android/issues/1685#issuecomment-1826350696

   Next major for API 34 support will bump the JDK requirement to 17.
   
   Despite the docs stating it requires JDK 11, JDK 17 should work on 
cordova-android@12. So you should be able to set `CORDOVA_JAVA_HOME` to a JDK 
17 environment, while keeping your JDK 21 environment. Note that JDK 21 won't 
work because cordova-android@12 is using gradle 7.6.
   
   Alternatively downgrading command line tools package to version `10.0` will 
probably also work.
   
   It's good to know that the command line tools actually has a dependency on 
the java runtime, so this definitely should be reflected in the docs, rather 
than suggesting to install the latest version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to