Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Minecraft 21w19a - Java 16

  • 2.8K Views
  • Last Post 24 May 2021
  • Topic Is Solved
jeffreyrdubois posted this 16 May 2021

When I attempt to update my minecraft server from 21w18a to 21w19a I get the following error:

Error: LinkageError occurred while loading main class net.minecraft.server.Main java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

I suspect this is due to needing Java 16 to run any Minecraft version 21w19a or later. And currently, Java 16 does not appear to be an option in AMP

How do I fix this, or can we get an update to include Java 16?

Thank You!

Order By: Standard | Newest | Votes
ashlyne posted this 17 May 2021

I tested this and was able to see a java 16 option showing up under Configuration -> Java -> Java Version. So it was added to the docker image

jeffreyrdubois posted this 16 May 2021

Update the docker image and it has Java 16 in.

I forced an update of the AMP docker image but there is still no Java 16 option. I submitted a ticket for the docker on github as well.

Mike posted this 16 May 2021

Update the docker image and it has Java 16 in.

jeffreyrdubois posted this 16 May 2021

Install Java 16 and restart AMP, it'll pick the new version up.

Forgot to mention I am on Unraid and running AMP in a docker... Not sure if that makes a difference...

Mike posted this 16 May 2021

Install Java 16 and restart AMP, it'll pick the new version up.

adoptopenjdk-16-hotspot-amd64

Close