Startup Issue with Minecraft - even after acepting eula is not starting 1st time

System Information

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

Problem Description

Issue

why error message for 1st start? server stoped after 5 second

The Minecraft server stopped within 5 seconds of starting, this is not a fault with AMP - you should check your Minecraft servers log files to find out why it is unable to start.

Reproduction Steps

  • accepted eula
  • hit start button
  • receive error message 1st time

Likely because minecraft 26.1 uses a new version of Java which isn’t set by default.

This should fix it and worked for me.

  1. Update the minecraft instance itself
    • Either through Support and updates > “Update This Instance”…
    • Or in the list of instances click “Update Instance” on it.
  2. Inside the instance, go to Configuration > Minecraft > “Java and Memory” tab
  3. Under “Java Version”
    • If it’s set to “TEMURIN 25”, Switch it to 21, then back to 25, and restart the instance. That fixed it for me.
    • If it’s not already set to 25, try setting it to 25. If you don’t see that as an option try the “Scan for Java Installs” button.