Topic category: Help with MCreator software
I'm sorry if something is unclear, as I'm writing through a translator.
Even on an empty project, the test launcher doesn't start, it first says "Run Build" and then "gradle is not active," and I can't create a mod either.
Here's what comes out in the console:
Build info: MCreator 2024.3.42716, forge-1.20.1, 64-bit, 7971 MB, Windows 11, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-01-02-11:54:31
Here's what comes out in the console:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'decor_by_itv'.
> Could not create task ':runClient'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories. Some toolchain resolvers had internal failures: foojay (Read timed out).
* Try:
> Learn more about toolchain auto-detection at https://docs.gradle.org/8.8/userguide/toolchains.html#sec:auto_detection.
> Learn more about toolchain repositories at https://docs.gradle.org/8.8/userguide/toolchains.html#sub:download_repo….
> 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.
> Get more help at https://help.gradle.org.
BUILD FAILED in 22s
BUILD FAILED
Task completed in 22 seconds
this is what happens when you try to download a mod you've made
Executing Gradle task: build
Build info: MCreator 2024.3.42716, forge-1.20.1, 64-bit, 7971 MB, Windows 11, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-01-02-19:24:14
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':compileJava'.
> Could not resolve all dependencies for configuration ':compileClasspath'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories. Some toolchain resolvers had internal failures: foojay (Connection reset).
* Try:
> Learn more about toolchain auto-detection at https://docs.gradle.org/8.8/userguide/toolchains.html#sec:auto_detection.
> Learn more about toolchain repositories at https://docs.gradle.org/8.8/userguide/toolchains.html#sub:download_repo….
> 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.
> Get more help at https://help.gradle.org.
BUILD FAILED in 12s
BUILD FAILED
Task completed in 12 seconds
Please, get in touch with the plugin author
which plugin?
I disabled all the plugins, but I still get the same error
I also found out that this error only occurs on forge
2024.3 is very old version
Try clearing gradle folder as explained at https://mcreator.net/wiki/gradle-setup-errors.
Don't forget to do reboots as instructed
No matter what I do, it doesn't work