I am trying to start a server with Minecraft 1.12.2 (the latest version my computer can run).
When i tried to launch it i got this error:
java.lang.NoClassDefFoundError: Could not initialize class
at Source) ~[?:1.8.0_271]
at net.minecraft.server.v1_12_R1.MojangStatisticsGenerator.i(SourceFile:92) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MojangStatisticsGenerator.h(SourceFile:78) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MojangStatisticsGenerator.a(SourceFile:52) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C( ~[patched_1.12.2.jar:git-Paper-1618]
at ~[patched_1.12.2.jar:git-Paper-1618]
at Source) [?:1.8.0_271]
[15:54:33] [Server thread/ERROR]: This crash report has been saved to: C:\Users\USER\Documents\Server.\crash-reports\crash-2020-12-19_15.54.33-server.txt.
How do i fix this?
System info:
Windows Vista Home Premium with Service Pack 2 (x86)
Intel Pentium Dual Core CPU @2.5GHz
Intel G33/G31 Express Chipset Family - Chip type = Intel GMA 3100. (256MB video memory)

Try uninstalling all the versions of Java you may have on your PC and then reinstall the latest version from Java’s website.

If its not that get back to me and we can try something else!

That did not work.

busted java install? uninstall java completely using oracles uninstaller, reboot, and then reinstall the latest version of java 8, ideally the JDK; You’re gonna wanna grab it from adoptopenjdk’s site for legal reasons

1 Like