Open sotolko opened 2 months ago
I can see that Debian 12 have openjdk 17 dependency for minecraft, paperMC and waterfallMC.
https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/data/debian-12.csv
the issue is that debian does not got openjdk 21 in the stable repos . https://packages.debian.org/search?suite=bookworm&searchon=names&keywords=openjdk
the only option i see atm is to use the adoptium packages: https://adoptium.net/de/installation/linux/#_deb_installation_on_debian_or_ubuntu
That needs a additional integration here, or you install that for now yourself till someone adds this.
User story
...
Game
Minecraft PaperMC
Linux distro
Debian 12
Command
command: install
Further information
Hello, today I installed fresh Debian 12, and LinuxGSM PaperMC server. When I tried to install that server, I was missing dependency openjdk version "17.0.12" 2024-07-16. So I went to install that, and when I tried to install server again, it was succesfull. However, server was not visible inside of Minecraft, so I tried ./pmcserver debug ,and I recieved error (org/bukkit/craftbukkit/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).
Fixed the issue by installing newer version of JDK, based on PaperMC documentation (https://docs.papermc.io/paper/getting-started) (https://docs.papermc.io/misc/java-install). Now server working as expected.
Relevant log output
Steps to reproduce