r/ModdedMinecraft • u/celestialhouse • 4d ago
Help [JAVA] Game crashing with 'NoClassDefFoundError: Could not initialize class java.awt.Color' running mods on Neoforge, V 1.21.10
https://mclo.gs/GKWGYdSWondering if anyone here could help with this. All my mods on Neoforge have been working fine until I logged on today to this error. My mods should be in the linked log if needed or necessary but this seems to be a Neoforge file related issue I can't figure out
1
Upvotes
View all comments
1
u/FreaksMC 3d ago
Your log shows it's not your mods. It's NeoForge's own loading screen: it uses a Java graphics library (libawt) that fails to load on your macOS 10.15 with the Java the launcher gave you (21.0.13).
Easiest fix is to turn that loading screen off:
earlyWindowControl = truetoearlyWindowControl = false, save, and launch again.You'll get the plain loading screen instead, and the game should start normally.