GitHub user breautek added a comment to the discussion: Cordova Microsoft 
OpenSDK

> When run requirements it still says Java JDK: installed 21.0.2.
>
> Should it not use C:\Program Files\Android\Android Studio\jbr\bin?

Depends on your environment variables.

Cordova will check `CORDOVA_JAVA_HOME` first and if set (and if it appears 
valid) it will use that JDK.

Otherwise Cordova fallsback to the standard `JAVA_HOME`. Cordova does not make 
use of `ANDROID_JAVA_HOME` environment variable.

GitHub link: 
https://github.com/apache/cordova/discussions/483#discussioncomment-10159836

----
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