A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher , and this is the JDK version we recommend you use for your Android projects.
Read moreDoes Android SDK come with JDK?
A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher , and this is the JDK version we recommend you use for your Android projects. So if you are using the newest version, you won’t need any additional JDK.
Read moreHow do I download JDK 11?
Head to Java SE Development Kit 11 Downloads page and choose the download file appropriate to your operating system . Oracle JDK 11 comes with installers for Linux (rpm and deb), macOS (dmg), Windows (exe) and archive files (tar. gz and zip). For Windows, I recommend to download the file jdk-11.0.
Read moreIs Gradle compatible with Java 16?
With the latest 7.0 release of Gradle, both running Gradle and building projects on JDK 16 is fully supported . Gradle itself has been upgraded to use Groovy 3 in Groovy based DSL build scripts to fully support JDK 16.20 Nis 2021
Read moreDoes Gradle work with JDK 17?
Gradle now supports running on and building with Java 17 . In previous Gradle versions, running Gradle itself on Java 17 resulted in an error. JVM projects could have been built with Java 17 using toolchains. As of Gradle 7.3, both running Gradle itself and building JVM projects with Java 17 is fully supported.
Read moreHow do I upgrade to Java 11?
Update Java in the Java Control Panel
Read moreWhich version of Java should I use for Android?
Even though Java 15 is the latest released version, it is a non-LTS version, so Android maintains the latest LTS release, Java 11 , as the required minimum.22 Ara 2020
Read more