You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded starter.zip and failed to run step 5 following the "Getting started" guide.
Run ./gradlew setupDecompWorkspace
D:\Code\starter>gradlew.bat setupDecompWorkspace
Welcome to Gradle 9.3.1!
Here are the highlights of this release:
- Test reporting improvements
- Error and warning improvements
- Build authoring improvements
For more details see https://docs.gradle.org/9.3.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
- What went wrong: Unable to download toolchain matching the requirements
({languageVersion=25, vendor=any vendor, implementation=vendor-specific,
nativeImageCapable=false}) from
'https://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect',
due to: Toolchain provisioned from
'https://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect'
doesn't satisfy the specification: {languageVersion=25, vendor=any vendor,
implementation=vendor-specific, nativeImageCapable=false} and must have the
executable 'javac', the executable 'javadoc', and the executable 'jar'.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights from a Build
Scan (powered by Develocity). Get more help at https://help.gradle.org.
My workaround was to change toolchainVersion to 26, since thats the java installation i have already installed.
Installing openjdk25 globally might also work, not sure
Activity
xiaohaiou233 commentedon May 19, 2026
I have the same problem and I don't know how to fix either.
QAQ
konradmoesch commentedon Jun 1, 2026
It seems the package provided in gradle/gradle-daemon-jvm.properties (https://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect) contains a java 21 jdk, which fails the toolchainVersion=25 requirement. Not sure how to fix (is there a newer toolchain on foojay?)
My workaround was to change toolchainVersion to 26, since thats the java installation i have already installed.
Installing openjdk25 globally might also work, not sure
Update gradle-daemon-jvm.properties
Update gradle-daemon-jvm.properties