BeepBoop Posted April 9, 2022 Share Posted April 9, 2022 C:\Users\user\OneDrive\Desktop\AYAYA>java -Xmx8096M -Xms8096M -jar forgeserver.jar nogui 2022-04-09 19:04:40,218 main WARN Advanced terminal features are not available in this environment [19:04:40] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.33, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [19:04:40] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 18 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x7995092a) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x7995092a at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45) at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95) at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:45) at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.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:62) at cpw.mods.modlauncher.Launcher.<init>(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) in every attempt i have it has giving me this, i have changed java versions, tried to make the eula myself but nothing Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted April 10, 2022 Share Posted April 10, 2022 update Forge to the latest version and 1.16.5 requires java 8 Quote Link to comment Share on other sites More sharing options...
BeepBoop Posted April 10, 2022 Author Share Posted April 10, 2022 I did update forge to the latest version and when i changed to java 8 the forge launcher didnt even wanted to open Quote Link to comment Share on other sites More sharing options...
BeepBoop Posted April 10, 2022 Author Share Posted April 10, 2022 C:\Users\user\OneDrive\Desktop\folder>java -Xmx8096M -Xms8096M -jar forgeserver.jar nogui 2022-04-10 17:00:55,011 main WARN Advanced terminal features are not available in this environment [17:00:55] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.33, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [17:00:55] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 18 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x7995092a) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x7995092a at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45) at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95) at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:45) at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.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:62) at cpw.mods.modlauncher.Launcher.<init>(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) Quote Link to comment Share on other sites More sharing options...
Damocles Posted April 10, 2022 Share Posted April 10, 2022 I am having the exact same issue. My server was working fine for months then yesterday all of my servers started to this thing and none of them are working. Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted April 11, 2022 Share Posted April 11, 2022 On 4/10/2022 at 1:13 PM, diesieben07 said: Post logs with Java 8. you still use java 18 Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted April 11, 2022 Share Posted April 11, 2022 14 hours ago, Damocles said: I am having the exact same issue. My server was working fine for months then yesterday all of my servers started to this thing and none of them are working. if you have the same issue is the solution above, if the solution doesn't fix your problem, you don't have the same error create then your own thread and post debug log Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.