Closed
Description
Describe the problem
Recent problem that the latest server doesn't seem to startup for me.
Container definition
docker run --restart always --log-driver=gcplogs -d -p 25565:25565 -p 19132:19132/udp -v /var/minecraft:/data -e "MEMORY=7G" -e "EULA=TRUE" -e "OPS=economic emerald marten,united moccasin chameleon,t_lark,Thatguygamerx,Chillyxxl" --name mc itzg/minecraft-server:latest;
(the memory flag doesn't seem to work but NVM)
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 9 1000 1000 4096 Apr 21 13:01 /data'
[init] Resolved version given LATEST into 1.20.5
[init] Resolving type given VANILLA
[init] Downloading minecraft_server.1.20.5.jar ...
[init] server.properties already created, skipping
[init] Updating ops
[init] Checking for JSON files.
[init] Setting initial memory to 3G and max to 3G
[init] Starting the Minecraft server...
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 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
2024-04-25T17:45:25.567Z WARN mc-server-runner sub-process failed {"exitCode": 1}
2024-04-25T17:45:25.568Z INFO mc-server-runner Done