Task: compileJava FAILED

Started by Pungvix on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Task: compileJava FAILED

Hello guys, I need help.

I wanted to test my mod but when I pressed the green play button to start the client it turned gray but then it turned back green again. I literally cannot run the game, no matter what I do. I tried regenerating the code, did nothing, tried running server, nothing, tried to export the mod it exports instaneniously, and it works but when I test the mod in a world, it will not update and the things I added before glitch appear, but no matter what I add past this, it will not appear in my modded world. Basically it's stuck in a previous state and I literally cannot update the mod. I upgraded mcreator to a newer version, did nothing, restarted my computer countless times, not working. Here is the error message I get, when I start to run client. Btw. I also tried deleting mod elements that might prevent me from launching but there is no element that could prevent it. Help me please, I would really appreciate that.

> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Changes are not tracked, unable determine incremental changes.
* 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 1s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 1 second

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your Java Installation ist…
Sun, 10/08/2023 - 16:46

Your Java Installation ist Most likely corrupted.

Try reinstalling java

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not working at all. I tried…
Wed, 11/01/2023 - 20:56

Not working at all. I tried to redownload it, but I keep getting errors.