Stuck on Task :compilejava

Started by AlbertOk1234 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stuck on Task :compilejava

After adding a new procedure to my workspace, MCreator is unable to compile a new build. Any attempts to compile the mod result in the bottom task showing Task:CompileJava until interrupted.

I have waited for over 3 hours in case it just took a really long time, but no, it just won't work.

There are no logs, no solutions online as far as I'm aware, I have tried everything, ranging from deleting the last elements that I added to clearing the gradle folder, reinstalling Mcreator, moving the workspace to another location, regenerating the code, etc...

All the basic solutions have been attempted, so if anyone could help me out it would be greatly appreciated.

Thank you.

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry for the late reply, I…
Sun, 05/11/2025 - 17:32

Sorry for the late reply, I am using version 2022.3 with the 1.16.5 generator plugin, and a couple other ones. No errors, just plain empty. Thankfully I managed to get it working by tweaking some numbers.

For anyone having this issue, this has something to do with the java/gradle versions. After changing some numbers in the build.gradle file and some other stuff it just started working.