Just trying to create a Gradle project using the jdk17, facing the below issue. I know Gradlew 7.3 is required for JDK 17, but quite not sure from where I should set the version of Gradle
Gradle location
Gradle version
CodePudding user response:
As temporary workaround it can be solved using Java 15 instead of Java 17 with Gradle 7.3, but for me it looks like a bug related to Intellij IDEA Java 17, so I opened a ticket on YT:
Cannot find supported Gradle version for JDK 17. The Gradle supports JDK versions 7 through 16.
Also I've reproduced the same issue using versions of Gradle:
5.6.4, 6.1, 7.1, 7.3
with Java 17 in Intellij IDEA until I downgraded to Java 15.
To be noticed: this is a bug which is specifically related to Java 17 Intellij IDEA and it's not related to GRADLE_HOME GRADLE_HOME/bin as mentioned in other answers.




