Startup Issue with Minecraft - Can't sart server

System Information

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

Problem Description

Issue

On Monday December 02 I have tried installing plugins from ‘Plugins’ menu. Plugins were installed successfully, but after restart of server - it couldn’t start. It fails with error “Unsupported Java detected (65.0). Only up to Java 16 is supported.”
I have uninstalled plugins, but still the same.
Today I restored server from backup f November 30 (that was 100% working), but still get the same issue: Unsupported Java detected (65.0). Only up to Java 16 is supported.
Could you please help me?

Reproduction Steps

  • Press Manage instance
  • Go to Status menu
  • Press Start button
  • An error message appears

The server you’re using needs Java 16, you’re currently using Java 21.
From the lack of information I’m assuming you’re on Paper 1.16.5.
To resolve that you can set the Java version to 17, then add
-DPaper.IgnoreJavaVersion=true to the Additional Java Arguments section.
https://www.spigotmc.org/threads/running-java-17-on-a-1-16-5-server.574385/