balena-minecraft-server icon indicating copy to clipboard operation
balena-minecraft-server copied to clipboard

Update to 1.17

Open random1748 opened this issue 5 years ago • 6 comments

when I try to run the Mojang vanilla 1.17 jar I get this error 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 Can someone help me update the version of the jre to 60

random1748 avatar Jun 09 '21 07:06 random1748

It's because for 1.17, the minimum requirement is java 16 and not 11 like in 1.16. So we need to wait for the devs to update it...

viedok avatar Jun 11 '21 17:06 viedok

Bad news. Balena doesn't have java 16 prebuilt docker images. I will ask on their forums on if they could provide those.

AlexProgrammerDE avatar Jun 12 '21 08:06 AlexProgrammerDE

Keep us updated! Tysm :D

PeakMars avatar Jun 28 '21 19:06 PeakMars

Hello any news about this? Do you know if there is a way to do the manual update? Regards

droptic avatar Jul 03 '21 21:07 droptic

@droptic you can use this for now. It works perfectly for me. https://github.com/AlexProgrammerDE/balena-minecraft-server/pull/137

nanospearing avatar Jul 03 '21 21:07 nanospearing

Java 16 is now included in the main repo. I guess I can close this now. Just push again to your fleet using the balena cli, and it should hopefully work again.

AlexProgrammerDE avatar Jul 04 '21 06:07 AlexProgrammerDE