Posted August 11, 20214 yr C:\Users\Chase\Desktop\yoyserver>Java -Xmx3072M -Xms3072M -jar forgeserver.jar nogui 2021-08-11 16:55:19,866 main WARN Advanced terminal features are not available in this environment [16:55:19] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [16:55:19] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.2 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4de5031f) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4de5031f 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.<clinit>(SecureJarHandler.java:41) 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) C:\Users\Chase\Desktop\yoyserver>PAUSE Press any key to continue . . . This is after i run the .bat file
August 12, 20214 yr Author Just now, blackout4951 said: what is the coding you are using in your .bat file? Java -Xmx3072M -Xms3072M -jar forgeserver.jar nogui PAUSE
August 12, 20214 yr what is your java file? You can find it by searching with C:\Program Files\Java\ or you can head into your "Program Files" and enter the "Java" file
August 12, 20214 yr Author 2 minutes ago, blackout4951 said: what is your java file? You can find it by searching with C:\Program Files\Java\ or you can head into your "Program Files" and enter the "Java" file jdk-15 jdk-16.02 jre1.8.0_301
August 12, 20214 yr Within your .bat coding change "Java" to " "C:\Program Files\Java\jdk-16.0.2\bin\java.exe" " and dont forget to include the " " before and after
August 12, 20214 yr Author 2 minutes ago, blackout4951 said: Within your .bat coding change "Java" to " "C:\Program Files\Java\jdk-16.0.2\bin\java.exe" " and dont forget to include the " " before and after okay sweet ill try
August 12, 20214 yr Author 3 minutes ago, blackout4951 said: Within your .bat coding change "Java" to " "C:\Program Files\Java\jdk-16.0.2\bin\java.exe" " and dont forget to include the " " before and after C:\Users\Chase\Desktop\yoyserver>"C:\Program Files\Java\jdk-16.0.2\bin\java.exe" -Xmx3072M -Xms3072M -jar forgeserver.jar nogui 2021-08-11 17:23:57,753 main WARN Advanced terminal features are not available in this environment [17:23:57] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [17:23:57] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.2 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4de5031f) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4de5031f 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.<clinit>(SecureJarHandler.java:41) 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) C:\Users\Chase\Desktop\yoyserver>PAUSE Press any key to continue . . . this is what i got
August 12, 20214 yr ok I had to same issue earlier and this worked, however this was a while ago so maybe instead of jdk16.. try " "C:\Program Files\Java\jre1.8.0_301\bin\java.exe" "
August 12, 20214 yr Author 3 minutes ago, blackout4951 said: ok I had to same issue earlier and this worked, however this was a while ago so maybe instead of jdk16.. try " "C:\Program Files\Java\jre1.8.0_301\bin\java.exe" " ha that worked youre awesome!!!!!
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.