Skip to content

java may be too old. #164

Closed
Closed
@lightsquall

Description

@lightsquall

Hi.
I wanna run Minecraft Java Edition Server with this docker image.

and there is an example docker-compose.yml here.

but when i run it, it says following.

fetching GitHub linuxgsm.sh...OK

[ .... ] Starting lgsm-gameserver: LinuxGSM
[ FAIL ] Starting lgsm-gameserver: Unable to start LinuxGSM

and log said following.

linuxgsm@4e8d0c24709d:~/linuxgsm$ cat ./log/console/lgsm-gameserver-console.log
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

could you plz update java runtime?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions