Home > database >  Starting from which version Gradle supports Java 17
Starting from which version Gradle supports Java 17

Time:11-09

When trying to configure the project I'm getting the error:

Unsupported Java. Your build is currently configured to use Java 17.0.1 and Gradle 7.0.

Unfortunately there are no information in official documentation for now.

CodePudding user response:

Gradle 7.3 will be the first version fully supporting Java 17. From the Release Notes:

Support for Java 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.

CodePudding user response:

I'm using Gradle 7.2 with JAVA 17 and IntelliJ 2021.2.3 without problems.

  • Related