edit: I fixed it by installing the latest openjdk (jre-openjdk-headless) version and setting it as the default: sudo archlinux-java set java-16-openjdk
The version that no longer works is jre8-openjdk-headless.
@edh, unfortunately running these commands made no change. The output was:
[user@host minecraft-server-old]$ sudo -u minecraft screen -S minecraft -rx
[sudo] password for user:
There is no screen to be attached matching minecraft.
The same for idle_server_minecraft. BTW you should update the pinned comment too.
edit: I believe the issue is related to Java:
Exception in thread "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 52.0
Version 60 = Java 16
Pinned Comments
edh commented on 2016-06-18 18:24 (UTC) (edited on 2021-10-02 08:19 (UTC) by edh)
To get an overview of the available options provided by the management script, be sure to have a look at the help page or read the according section on the ArchWiki article [1].
You can quit the console without shutting down the server by press ctrl+a d (first ctrl+a and after releasing the buttons press d; ctrl+b also works). This will detach your input from the server console. The attaching and detaching is done with tmux (previously GNU screen) since it lets you view and type into the console, send single commands to it and keep it alive without a connected user. Take a look at the the command overview at the ArchWiki [2] to get a feel for its power. (@carmelo12341)
[1] https://wiki.archlinux.org/title/Minecraft#Setup [2] https://wiki.archlinux.org/title/Tmux