Topic category: Troubleshooting, bugs, and solutions
I was trying to run my mod that I've been working on (I throw whatever idea I have in there) and for some reason, it doesn't work. It ran perfectly fine yesterday?? I didn't change anything??
here's the logs:
Executing Gradle task: runClient
Build info: MCreator 2026.1.13616, fabric-1.21.8, 64-bit, 8192 MB, Mac OS X, JVM 21.0.10, JAVA_HOME: /Applications/MCreator.app/Contents/jdk.bundle/Contents/Home, started on: 2026-04-01-16:11:10
> Configure project :
Fabric Loom: 1.15.5
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Java compilation initialization error
error: release version 21 not supported
* 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.
BUILD FAILED in 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 2 seconds
Restarting my mac appeared to work, thanks nevertheless!