Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5190

Java • Getting "UnsupportedClassVersionError" Error When Starting Minecraft Server

$
0
0
Hello,

I'm trying to run a Minecraft server on Raspberry Pi, but I'm encountering the following error when trying to start the server:

Code:

Error: LinkageError occurred while loading main class net.minecraft.bundler.Mainjava.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 61.0
I'm aware that my current Java version (Java 17) is a newer version, but I'm unsure how to resolve this error.

Could someone please provide guidance on the steps to start a Minecraft server on Raspberry Pi? Additionally, if anyone has any suggestions on how to fix this error, I would greatly appreciate it.

Thank you.

Statistics: Posted by MEA_0 — Thu May 30, 2024 8:20 pm — Replies 1 — Views 90



Viewing all articles
Browse latest Browse all 5190

Trending Articles