Trying to set up a fabric server and got an error #3983
Replies: 1 comment
-
Figured it out |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Minecraft Logs
Uncaught exception in thread "main" java.lang.RuntimeException: An exception occurred when launching the server! at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:71) at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) Caused by: java.lang.RuntimeException: Error invoking MC server bundler: java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at net.fabricmc.loader.impl.game.minecraft.BundlerProcessor.process(BundlerProcessor.java:102) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.locateGame(MinecraftGameProvider.java:192) at net.fabricmc.loader.impl.launch.knot.Knot.createGameProvider(Knot.java:175) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:130) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ... 1 more Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at net.fabricmc.loader.impl.game.minecraft.BundlerProcessor$1.loadClass(BundlerProcessor.java:65) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.fabricmc.loader.impl.game.minecraft.BundlerProcessor.process(BundlerProcessor.java:85) ... 7 more
Description
I'm not really good with java or coding in general but I was trying to set up a fabric server with the executable jar (there was no windows exe for some reason) and every time I tried to run the java -Xmx2G -jar fabric-server-mc.1.21-loader.0.15.11-launcher.1.0.1.jar nogui from the correct folder it gave me this error. I at one point attempted manual installation, but that also broke. I am using an otherwise blank PC; all this PC has besides the default windows stuff is Java, Minecraft, and the Fabric server installer (I had just the regular fabric launcher but I deleted it in a vain attempt to get the server to work. No dice, same error).
Best I can tell it wants me to have a different version of Java? But I really cannot make heads or tails of it.
Beta Was this translation helpful? Give feedback.
All reactions