so ive been trying to play on 1.17.1 with my freinds since forge cam out for it, but when i go to run the run.bat file in the server file it says i have an error with the user_jvm_args file and to press any button to continue but when i do the CMD prompt crashes, but i followed everything and the user_jvm_args file should be correct but it just doesnt work
user_jvm_args file:
# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M
# A good default for a modded server is 4GB.
# Uncomment the next line to set it.
-Xmx4G
run.bat file:
C:\Desktop\1.17.1>REM Forge requires a configured set of both JVM and program arguments
C:\Desktop\1.17.1>REM Add custom JVM arguments to the user_jvm_args.txt
C:\Desktop\1.17.1>REM Add custom JVM arguments {such as nogui} to this file at the end of the nect line
C:\Desktop\1.17.1>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.17.1-37.0.19/win_args.txt
Error: Could not find or load main class @user_jvm_args.txt
C:\Desktop\1.17.1>pause
Press any key to continue . . .