Startup Issue with Minecraft - Erro start minecraft server

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

Error: A JNI error has occurred, please check your installation and try again
Exception in thread “main” java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 52.0

PLIS HELP!

Reproduction Steps

  • update, restart and view console error
  • Update server
  • restart server

Minecraft 1.20.6 needs Java 21

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