manos5246 Posted October 11, 2021 Share Posted October 11, 2021 So i just got to opening forge server and when i launch my server.bat i get this error main WARN Advanced terminal features are not available in this environment [12:40:01] [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] [12:40:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 17 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x1f1c7bf6) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x1f1c7bf6 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) Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 oh i used 1.16.5 and i dont rl know how to change im kinda of a noob at coding but i would do everything to play with my friends Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 so i just download java 8 and im done? and also uninstall java 17? Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 im probably really anoying right now bc i cant understand those things can you like send a vid or something im really sorry Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 made a folder and then in the folder i extracted the forge server files and made a txt document and typed java -Xmx2048M -Xms2048M -jar forgeserver.jar nogui PAUSE in the document then i saved as a bat file and i opened the run.bat file it didnt extract any other files like this video right here that i followed Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 D7 told you, how you should start the server. replace java with the full path Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 https://prnt.sc/1vpcfo9 thats how my folder looks rn what do i change Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 you need to replace java in the command line with the java path of your system (java 8-15 is required for your version) Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 can u send me the command cus ive downloaded java 8 Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 i changed the path and it didnt gave any errors but now when i open my run.bat it gives the same error 😢 Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 post the command line you are using and the new debug log you get Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 i used set path=C:\Program Files\Java\jre1.8.0_301 and it didnt give any errors but when i open my run.bat it gives this main WARN Advanced terminal features are not available in this environment [12:40:01] [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] [12:40:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 17 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x1f1c7bf6) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x1f1c7bf6 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) Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 you still run with java 17, show the command line your are using (it's in the run.bat file) Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 in the run.bat i have that command java -Xmx10592M -Xms256M -jar forgeserver.jar nogui PAUSE Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 5 hours ago, Luis_ST said: you need to replace java in the command line with the java path of your system (java 8-15 is required for your version) do this Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 do you know the command to put in cmd? -a noob at forge Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 edit the run.bat file Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 (edited) and then what do i put when i edit it? Edited October 11, 2021 by manos5246 Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 replace java in the command line (in the run.bat file) with "C:\Program Files\Java\jre1.8.0_301" then save the file and run the the server Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 https://prnt.sc/1vql9zb https://prnt.sc/1vqlbvr Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 you forgot the "" befor and after the java path Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 https://prnt.sc/1vqpwh8 https://prnt.sc/1vqpxlf Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 okay thats strange try this command line: "C:\Program Files\Java\jre1.8.0_301\bin\java.exe" -Xmx10592M -Xms256M -jar forgeserver.jar PAUSE Quote Link to comment Share on other sites More sharing options...
manos5246 Posted October 11, 2021 Author Share Posted October 11, 2021 IM SO EXCITED I WAS WORKING ON THIS PROJECT FOR LIKE A WEEK AND ITS DONE Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted October 11, 2021 Share Posted October 11, 2021 problem solved? 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.