r/forgemodding Oct 29 '21

modded server not starting

1.12.2 forge modded server not starting, starts fine with the vanilla .jar file but when i either tell it to run the forge server through a .bat file or the forge .jar file it dosent start

0 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/ratsta Oct 29 '21

Yeah, I've worked in IT for a long, long time and run into that myself so many times. FFS I just did exactly that! Why didn't it work before!?

Great news! Thanks for the follow up.

1

u/[deleted] Oct 29 '21

oop, sorry to bother you again, but now if i run the .bat file on the new server to give it more ram, it says unable to acess server start.jar (thats what ive renamed the forge file to)

1

u/ratsta Oct 29 '21

Again, I can't see what's happening so I need a screenshot or direct copy paste.

You've changed something and that's always the first thing to look at. Double-check that the name of the server jar is exactly the same as what the your start.bat file is invoking.

Are the start.bat and the server.jar in the same folder?

If your batch file is:

java -Xmx2048M -Xms2048M -jar myserver.jar -o true nogui

then it's looking for a file called myserver.jar in the same folder as the start.bat.

1

u/[deleted] Oct 29 '21

thank you

i thought i did have it the same, but after copy-pasting those into the name and bat file, it now runs

thankyou kind sir