You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/24 04:41:25 UTC

[GitHub] brodybits edited a comment on issue #637: Java JDK version to use given Oracle licensing changes

brodybits edited a comment on issue #637: Java JDK version to use given Oracle licensing changes
URL: https://github.com/apache/cordova-android/issues/637#issuecomment-456940837
 
 
   I would recommend using OpenJDK 8, which seems to be still updated with free support.
   
   This means we need to update the download info in the following places:
   - <https://github.com/apache/cordova-android/blob/d9c08f12a7bceb47ee97ca8ca0e75548e78f999d/bin/templates/cordova/lib/check_reqs.js#L208>
   - <https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#java-development-kit-jdk>
   
   I added the **bug** label, think this should be fixed before we make the major release for Cordova 9 (apache/cordova#10).
   
   I posted the following answer on StackOverflow how to install and use OpenJDK 8 on mac, using Homebrew: https://apple.stackexchange.com/questions/349465/how-can-i-upgrade-from-oracle-jdk-8-to-openjdk-8-using-homebrew/349466#349466
   
   As a side point, I think use with newer OpenJDK version is not supported by Android build tools: https://stackoverflow.com/questions/49788102/which-java-se-versions-work-with-android-studio-3-1
   
   P.S. I tested build and run on Android with OpenJDK 8 with both latest and nightly Cordova-Android versions on my mac.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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