Customization with Minecraft - Can't get mods and server isnt working

System Information

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

Problem Description

Issue

I have tried dragging the entire modpack and when that didn’t work I tried dragging each individual mod over and it was taking way too long. 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
this is partially what it says in the coding.

Reproduction Steps

  • switched to version 1.16.5
  • allocated 15000 mbs
  • made a mod directory

Most likely using the wrong Java version. Use Java 8 or Java 11 for Forge 1.16.5
(Found under Java and Memory)