#Server setup going wrong (after EULA prompt going well)
1 messages · Page 1 of 1 (latest)
can you send the contents of the launch bat file also?
@echo off REM Forge requires a configured set of both JVM and program arguments. REM Add custom JVM arguments to the user_jvm_args.txt REM Add custom program arguments {such as nogui} to this file in the next line before the %* or REM pass them to this script directly "C:\Program Files\Java\jdk-22\bin\java.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.2.0/win_args.txt %* pause
so you are using jdk 22 instead of 17 (so something to be aware of), did you try tunning the run.bat before modifying it? Original will have looked like this:
@echo off
REM Forge requires a configured set of both JVM and program arguments.
REM Add custom JVM arguments to the user_jvm_args.txt
REM Add custom program arguments {such as nogui} to this file in the next line before the %* or
REM pass them to this script directly
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.2.0/win_args.txt %*
pause
FYI i've found more stability with Adoptium and self-hosted servers, I try to keep to the version required also, even if it says newer are supported
I will try using java 17 and running the batfile unmodified.
but how would the run.bat file you posted even find the adoptium java 17 version? or rather: how do i make sure i’m running java 17, instead of java 22? at this point i have both java versions installed iirc. Do i delete java entirely and download java 17?