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?
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 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With