Errors1000 Posted November 26, 2023 Share Posted November 26, 2023 So I am making a 19.2 Minecraft server, and anytime I try running the run.bat program, it gives me: Error: Could not find or load main class @user_jvm_args.txt Press any key to continue . . . How can I fix this? I uninstalled and reinstalled and it still will not work Quote Link to comment Share on other sites More sharing options...
TileEntity Posted November 26, 2023 Share Posted November 26, 2023 After installing Forge as a server, go to the folder Create a new file eula.txt and write eula=true into it Open the user_jvm_args.txt - at the last line remove the # and change the value if you want to have more RAM for example Then make sure you are using Java 17 If you have newer versions installed, set the java 17 path in your script - for example: "C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19.2-43.3.5/win_args.txt %* pause Quote Try my Modpack >>Link to Curseforge<< 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.