Gradel Build Error

Started by Fire_Brantley on

Topic category: Help with MCreator software

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradel Build Error

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 them again,…
Sun, 06/15/2025 - 11:10

Try clearing them again, make sure to reboot in-between as instructed on the page. Make sure to really follow every step 1:1

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I did try the…
Wed, 06/18/2025 - 02:12

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

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's been working, but now…
Sat, 06/21/2025 - 20:21

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.)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean by linking…
Sun, 06/22/2025 - 20:57

What do you mean by linking it?