Skip to content

[BUG] Minecraft won't start #3802

@tmnelson

Description

@tmnelson

Issues raised here are ONLY for:

  • LinuxGSM bugs.
  • Feature suggestions.
  • Code contributions.

Issues raised here are NOT for:

  • General support.
  • Specific game server issues (e.g CS:GO, TF2).
  • Dedicated server issues (e.g Ubuntu, CentOS).
  • Anything not directly related to LinuxGSM development.

For general support visit the LinuxGSM-Support.

Please use the template below, deleting the above text

User Story

As a user, I want minecraft to start so that it is playable.

Basic info

  • Distro: Debian 10 (turnkey gameserver 16.2)
  • Game: Minecraft
  • Command: [Monitor]
  • LinuxGSM version: 21.5.1

Further Information

After creating a new server using the turnkey gameserver template, minecraft won't start. This is due to the fact that the version of Java installed on the server is 11.0.14, while the latest Minecraft server requires a later version (16 or 17).

To Reproduce

Steps to reproduce the behaviour:

  1. Create a new game server using the "debian-10-turnkey-gameserver_16.2-1_amd64.tar.gz" template.
  2. Start the server
  3. Log in to the server
  4. sudo su - gameuser to become the gameuser user.
  5. Issue the command gameserver/mcserver start

Expected behaviour

The minecraft server should start

Observed behavior

The command reports "Unable to start world [worldname]". A little more digging reveals that the java command is throwing an error about not understanding the jar file format, which then reveals that the default Java version is 11 and that latest minecraft release requires 16 or 17. I'm not sure if the community would be better served by having the latest version of Java installed or by simply installing an older version of the minecraft server that works with the older version of Java.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions