Startup Issue with Minecraft - Issue trying to start a CurseForge world

System Information

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

Problem Description

Issue

Trying to install a pixelmon mod to my server using the Forge mods, but everytime I try to launch I get this error “Exception in thread “main” java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4a684241) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4a684241

Reproduction Steps

  • Installed Forge and Proper Version
  • Created A Mod Folder And Installed .zip server folder
  • Tried starting server and it shuts down after 5 seconds

Wrong java version - make sure to select the Java version that’s appropriate to the modpack you’re using.