You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/02/24 17:04:40 UTC

[GitHub] [cordova-android] ahalbrock commented on issue #1221: Cordova isn't detecting java 8 jdk when a more recent version is installed

ahalbrock commented on issue #1221:
URL: https://github.com/apache/cordova-android/issues/1221#issuecomment-1050066675


   Just adding some info.  I am running on Mac and was using /usr/libexec/java_home to set $JAVA_HOME env variable and specifying -v 1.8 as I also have Java 11 jdk installed but was running into this issue.  In the end I didn't realize I also had a Java 8 JRE installed and it was automatically choosing that, so not overwriting the javac to be the 1.8 version, causing the java version check issues.  After being more specific, -v 1.8.0_221, it properly copied over the 1.8 jdk stuff and now the project compiles.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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