Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.Se cureJarHandler (in unnamed module @0x3330b662) cannot access class sun.security.util.M anifestEntryVerifier (in module java.base) because module java.base does not export su n.security.util to unnamed module @0x3330b662
at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java :41)
at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils. java:95)
at cpw.mods.modlauncher.SecureJarHandler.(SecureJarHandler.java:41)
at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Concurrent HashMap.java:1708)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:6 2)
at cpw.mods.modlauncher.Launcher.(Launcher.java:55)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[13:13:07] [INFO] Server has been stopped, it has started 2 times in 60min
[13:13:07] [INFO] Restarting server in 10 seconds, press ctrl+c to stop
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.Se cureJarHandler (in unnamed module @0x3330b662) cannot access class sun.security.util.M anifestEntryVerifier (in module java.base) because module java.base does not export su n.security.util to unnamed module @0x3330b662 at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java :41) at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils. java:95) at cpw.mods.modlauncher.SecureJarHandler.(SecureJarHandler.java:41)
at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Concurrent HashMap.java:1708)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:6 2)
at cpw.mods.modlauncher.Launcher.(Launcher.java:55)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[13:13:07] [INFO] Server has been stopped, it has started 2 times in 60min
[13:13:07] [INFO] Restarting server in 10 seconds, press ctrl+c to stop
I use java 16