Startup Issue with Minecraft - Server Won't Starup!

System Information

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

Problem Description

Issue

I tried to start the Server And it won’t Start, i already tried everything but it won’t Work this error always Pops Up!
“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.” and i checked The Console too and this Error always comes up " Exception in thread “main” java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x6ce2b319) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x6ce2b319at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45)at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)"

Reproduction Steps

  • Read the error
  • Looked for the Tips the error gave me
  • searched the error online
  • Tried deleting some mods
  • Checked if everything is using the same Version

You need to use the right Java runtime for that version of Forge.
Java 8 for anything 1.16.5 and older, Java 17 up until 1.20.4, then Java 21 for anything newer than that

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