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 2021/07/14 10:26:23 UTC

[GitHub] [cordova-android] adityatyagijtg opened a new issue #1277: Support for JDK 11

adityatyagijtg opened a new issue #1277:
URL: https://github.com/apache/cordova-android/issues/1277


   According to [this](https://github.com/apache/cordova-android/issues/908) and [this](https://github.com/apache/cordova-android/issues/908#issuecomment-598473380) the `cordova-android` supports JDK versions which is supported by the latest stable Android Studio release:
   
   As per the investigation, the latest Android Studio v4.2.2 supports OpenJDK 11
   
   ```
   C:\Program Files\Android\Android Studio\jre\bin>java -version
   openjdk version "11.0.8" 2020-07-14
   OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
   OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode)
   ```
   
   The upcoming release of Android Studio (4.3.x) ([Android Studio Arctic Fox](https://android-developers.googleblog.com/2020/12/announcing-android-gradle-plugin.html)) will officially update gradle plugin as well as make JDK 11 as the minimum requirement. The version is currently in BETA.
   
   >Java 11 requirement
   With AGP 7.0.0-alpha01 we are changing the minimum required Java programming language version to Java 11. 
   We are announcing this early in the Canary schedule and many months ahead of the stable release to allow developers time to get ready.
   
   
   # PROBLEM
   But the cordova (10.x.x) latest official guide stillĀ [explicitly mentions JDK 1.8](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#java-development-kit-jdk)
   
   # QUESTION
   1. Can we update the JDK version now?  
   2. Will the cordova-android (9.x.x) and the upcoming (10.x.x) be compatible with JDK 11?
   


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


[GitHub] [cordova-android] erisu edited a comment on issue #1277: Support for JDK 11

Posted by GitBox <gi...@apache.org>.
erisu edited a comment on issue #1277:
URL: https://github.com/apache/cordova-android/issues/1277#issuecomment-879822960


   Master branch already removed the JDK 1.8 restriction. But as regards to compiling JDK 11 that is not supported until APG 7 is officially released. AGP 7 is not going to be out by the time Cordova-Android next major is out.


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


[GitHub] [cordova-android] adityatyagijtg commented on issue #1277: Support for JDK 11

Posted by GitBox <gi...@apache.org>.
adityatyagijtg commented on issue #1277:
URL: https://github.com/apache/cordova-android/issues/1277#issuecomment-879841130


   Thank you for the prompt reply @erisu 
   Highly appreciate it. 


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


[GitHub] [cordova-android] erisu commented on issue #1277: Support for JDK 11

Posted by GitBox <gi...@apache.org>.
erisu commented on issue #1277:
URL: https://github.com/apache/cordova-android/issues/1277#issuecomment-879822960


   Master branch already removed the JDK 1.8 restriction.


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


[GitHub] [cordova-android] erisu closed issue #1277: Support for JDK 11

Posted by GitBox <gi...@apache.org>.
erisu closed issue #1277:
URL: https://github.com/apache/cordova-android/issues/1277


   


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