I am having trouble getting Minecraft 18.0 to run on my Mac server. When I try to start the server I get the error message shown below.
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
I was getting that same error when I had Java 8u311 installed.
My problem is that I have downloaded and installed jdk-17.0.1 as suggested in another post here and I am still getting this error. I tried powering down and doing a restart of the server computer after installing Java 17 to make sure there were no leftover parts or pieces the might interfere. But I still get that error.
java -version
to find out what's on the path andwhich java
to find out where it is.