Posted July 27, 20223 yr Downloaded forge for 1.18.2 latest client. then went ahead and got the server version too and put it in a folder. ran the .bat you get with it and it tells me B:\create pack>REM Forge requires a configured set of both JVM and program arguments. B:\create pack>REM Add custom JVM arguments to the user_jvm_args.txt B:\create pack>REM Add custom program arguments {such as nogui} to this file in the next line before the or B:\create pack>REM pass them to this script directly B:\create pack>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.68/win_args.txt Error: Could not find or load main class @user_jvm_args.txt B:\create pack>pause Press any key to continue . . . which I know your supposed to get that, but your supposed to get more. And so im also not getting the eula and config folder ans stuff liek that. I have been messing around with java versions recently for another dumb issue I had maybe its related. I have java sedk 18.0.1.1 64 bit only installed now. Still no good. What am I doing wrong, if anything. Thank you ❤️
July 27, 20223 yr Then you do not start the server with java 17. Replace the java keyword in the run.bat file with the full path of the java 17 executable (java.exe). If the path contains a space you need to put it into quotes.
July 27, 20223 yr Author Jesus christ I feel so fucking stupid. i get a bunch of weird lines if i run. do I add anything else that : "C:\Program Files\Java\jdk-17.0.4\bin\java.exe" pause ty for ur time my guy ❤️
July 27, 20223 yr if this is your path to java 17 the run.bat file should look like this: // here should be the "@echo off" line and the "REM" lines "C:\Program Files\Java\jdk-17.0.4\bin\java.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19-41.0.61/win_args.txt %* pause
April 10, 20232 yr Hey, I got the same error, did the same like @Luis_ST did, it worked somehow, but now i've got an other error: Error: could not open `libraries/net/minecraftforge/forge/1.19.4-45.0.43/win_args.txt' I hope anybody is able to help me with this problem
January 25, 20241 yr I got this same error. i fixed it by installing java sdk 17. then deleting my whole server folder. then making a new one and download necsesary stuff from the server.jar file. and it worked like a charm.
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.