Reputation: 307
when trying to run ./gradlew setupDecompWorkspace eclipse I get the following error: Could not detrmine java version from 17.0.1.
the gradle-wrapper distributionUrl is gradle-2.7-bin.zip and my current JAVA_HOME is jdk 17.0.1.
How can I resolve this error?
Upvotes: 10
Views: 26065
Reputation: 2512
From official gradle doc:
A Java version between 8 and 16 is required to execute Gradle. Java 17 and later versions are not yet supported.
You need to downgrade you java to work with gradle .
UPDATED:
As gradle version 7.3 released at 5th Nov 2021 , It will now provide support to Java 17.
So you either upgrade to 7.3 gradle version or downgrade your java version .
Upvotes: 10