#Server setup going wrong (after EULA prompt going well)

1 messages · Page 1 of 1 (latest)

lime dirge
vernal elbow
#

can you send the contents of the launch bat file also?

lime dirge
#

@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

vernal elbow
#

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

lime dirge
#

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?

lime dirge
#

Okay, after deleting java 22, downloading java 17, and not touching the bat file, the server is finally up!!

#

@vernal elbow thank you for your help!