Topic category: Troubleshooting, bugs, and solutions
I'm running version 2024.3 under Linux. I have reinstalled Mcreator and it did not do anything, I created a new blank mod and the same thing happens. Note: This ONLY happens when I try and run Minecraft through Mcreator. This is the console error message:
Executing Gradle task: runClient
Build info: MCreator 2024.3.40615, forge-1.20.1, 64-bit, 31951 MB, Linux, JVM 21.0.4, JAVA_HOME: /home/user/Downloads/MCreator20243/jdk, started on: 2024-10-17-16:58:44
> Task :compileJava FAILED
/home/user/MCreatorWorkspaces/new/src/main/java/net/mcreator/new/NewMod.java:1: error: expected
package net.mcreator.;
^
/home/user/MCreatorWorkspaces/new/src/main/java/net/mcreator/new/NewMod.java:19: error: expected
import net.mcreator.new.NewMod;
^
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 2s
1 actionable task: 1 executed
Any advice?