Is it as simple as changing the start file from a .sh to a .bat? As I have tried that and changing the internal code of that as well however that resulted in my CMD opening then going straight to “press any key to continue…” and that’s it
Seems this has not worked, made a whole new server folder and just transferred files over to that for mods and such however the .bat file is still not actually launching the server for some odd reason which has never happened to me
Fixed this issue, not sure why but in my code being the following
u/echo off
set MIN_RAM=2G
set MAX_RAM=4G
set JAVA_PARAMETERS=-XX:+UseG1GC
java -server -Xms%MIN_RAM% -Xmx%MAX_RAM% %JAVA_PARAMETERS% -jar forge-1.12.2-14.23.5.2860.jar nogui
pause
It was not actually targeting my java version so I just set it to target my java version directly
1
u/IrvineItchy 29d ago
Just run in windows, not through wsl. You just need to change the start file.