Topic category: Help with MCreator software
I keep trying to test/run my code and it keeps saying the same error message:
Executing Gradle task: build
Build info: MCreator 2025.1.13416, forge-1.20.1, 64-bit, 16298 MB, Windows 11, JVM 21.0.5, JAVA_HOME: C:\Users\coolb\OneDrive\Desktop\Remastered\MCreator\jdk, started on: 2025-06-13-18:54:49
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'.
> Service 'SystemInfo' is not available (os=Windows 11 10.0 amd64, enabled=false).
* 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.
> Get more help at https://help.gradle.org.
BUILD FAILED in 882ms
BUILD FAILED
Task completed in less than a second
Does anyone know how to fix this?
Try clearing gradle caches as explained in https://mcreator.net/wiki/gradle-setup-errors
Also try deleting build folder on workspace folder
I've gotten to the part where delete the gradel folder then build the workspace and it just gives this message
https://imgur.com/a/h3SW9KD
Try clearing them again, make sure to reboot in-between as instructed on the page. Make sure to really follow every step 1:1
So I did try the instructions from the page, and they didn't fully work. But I was messing around, then I got somewhere and now it just has a compileJava error.
Exact one:
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> java.io.IOException: Unable to delete directory 'C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net\mcreator\firesreflamed\block
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net\mcreator\firesreflamed\init
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net\mcreator\firesreflamed\item
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net\mcreator\firesreflamed\procedures
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net\mcreator\firesreflamed
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net\mcreator
- C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build\classes\java\main\net
* 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.
> Get more help at https://help.gradle.org.
BUILD FAILED in 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 2 seconds
Try also deleting C:\Users\coolb\OneDrive\Desktop\Remastered\MCreatorWorkspaces\remastered\build
It's been working, but now it keeps crashing when I go to make a world. (I'm honestly not sure if this should be a new forum post.)
Link to crash log. Please do not just paste the log here as you did above
What do you mean by linking it?
If you meant like a pastebin, here's one: https://pastebin.com/asQ3NwWu