Startup Issue with Minecraft - Cannot start server (outdated Java version?)

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.10 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Failed

Problem Description

Issue

It seems my server won’t start because it has an outdated Java version. I have not loaded into this server since June of 2024, so I assume that has something to do with it. I’m not sure if I need to reinstall an older version of Java (or even how to do that), or it’s actually another issue entirely. Any and all help is greatly appreciated! (I am a noob to all of this so apologies in advance.) :frowning:

Reproduction Steps

  • tried updating server
  • tried looking through the logs
  • don’t know how to go back to java ver. 52? if that’s even the right resolution…

You’re probably reading the error backwards if you’re using a modern MC version.
Version 52 is Java 8, and you need Java 21 for anything newer than 1.20.5.
On Linux you can run getamp installJava as root to install newer LTS versions.

Also note, your AMP install is fairly out of date, and you should update before creating any new instances:
https://discourse.cubecoders.com/t/how-to-update-amp-to-the-latest-version/2297

Thank you for the response! Do you by chance know the Windows version of that Linux command?

Your support post states you’re using Linux, are you using Docker on Windows?
Because if so, updating AMP will install the new Java runtimes (given the container will be updated).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.