Topic category: Help with MCreator software
nothing worked. i was using 2026.1 before cause i had this problem a few days ago with 2026.2. i need to update for a plugin but i keep getting this error. how do i fix this? Please help soon. thank you
. Executing Gradle synchronization tasks
Build info: MCreator 2026.2.33518, neoforge-1.21.1, 64-bit, 15980 MB, Windows 11, JVM 25.0.2, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-08-25-16:24:12
> Task :createMinecraftArtifacts
> Task :createMinecraftArtifacts FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':createMinecraftArtifacts' (registered in build file 'build.gradle').
> Error while evaluating property 'javaExecutable' of task ':createMinecraftArtifacts'.
> Failed to calculate the value of task ':createMinecraftArtifacts' property 'javaExecutable'.
> Cannot find a Java installation on your machine (Windows 11 10.0 amd64) matching: {languageVersion=21, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}. Some toolchain resolvers had provisioning failures: foojay (Unable to download toolchain matching the requirements ({languageVersion=21, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}) from 'https://api.foojay.io/disco/v3.0/ids/ccc3884e65cd85bb71a09d2223c77229/r…', due to: C:\Users\drbil\.mcreator\gradle\.tmp\jdks\OpenJDK21U-jdk_x64_windows_hotspot_21-any-vendor-2111611211728169784408.tmp\jdk-21.0.12.1+1 -> C:\Users\drbil\.mcreator\gradle\jdks\eclipse_adoptium-21-amd64-windows.2).
* Try:
> Learn more about toolchain auto-detection and auto-provisioning at https://docs.gradle.org/9.6.1/userguide/toolchains.html#sec:auto_detect….
> Learn more about toolchain repositories at https://docs.gradle.org/9.6.1/userguide/toolchains.html#sub:download_re….
> 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.
BUILD FAILED in 58s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 59 seconds
this is the 10th time btw
and neoforge 1.21.1
Did you define a Windows Defender exception for Gradle? See https://mcreator.net/wiki/gradle-setup-errors
yes. i did a bunch of mcreator related exeptions. including gradle
The page linked above contains all cases that we know how to help with. It could be then if you exactly 1:1 followed all steps of all suggested solutions that your solution is to specific for our knowledge to be able to help you out unfortunately
ok thanks. even if it wont work. ill just use the previous version for now