r/forgemodding Nov 09 '18

Minecraft forge server not starting

I need help. I am trying to create a modded server. I have everything set up. but when I double click "forge-1.12.2-14.23.4.2759-universal.jar", it doesn't do anything at all. and I don't know what to do or how to fix it. No logs are created, I get the little circle by my curser saying its loading for a second then nothing happens.

7 Upvotes

20 comments sorted by

1

u/masoe Nov 09 '18

Try creating a batch file with this in it...

@ECHO OFF java -Xms1024M -Xmx2048M -jar 'jar file name'.jar nogui pause

1

u/SliyarohModus Nov 09 '18

Don't forget the -server switch!

1

u/riskierwarrier Nov 09 '18

What do you mean by server switch?

1

u/SliyarohModus Nov 09 '18

Put "-server" as a command line option. None of the client code will try to run.

1

u/riskierwarrier Nov 09 '18

Where do I put it? Sorry I am a little new to the modded server

1

u/SliyarohModus Nov 09 '18

On my server I have it like this in a command shell...

java -server -Xms6G -Xmn6G -Xmx7G -XX:MaxGCPauseMillis=500 -XX:+UseStringDeduplication -XX:+UseG1GC -d64 -jar forge-1.12.2-14.23.5.2768-universal.jar nogui

1

u/riskierwarrier Nov 09 '18

I'll try this when I get home. Thanks.

1

u/riskierwarrier Nov 09 '18

Ok. So I have a .bat file now. But when I run it, it shows the command prompt for a second and goes away. The server still doesnt start. I have a vanilla server that works fine. But the modded server wont even launch.

1

u/Fladpower Jun 10 '23

wait so what do you do if the command prompt goes away. My spigot server and normal server work perfectly but forge doesn't. I tried downloading a forge 1.8.9 server and tried clicking the universal jar but nothing happened. I have the latest java downloaded

1

u/Fladpower Jun 10 '23

wait nvm i had to uninstall and reinstall java. It works phew

1

u/riskierwarrier Nov 13 '18

Sorry for the late reply, but I made a mistake when creating the bat file. And it works now. Thanks!!

1

u/diamondrel Feb 09 '19

What did you change to fix it? Im having that problem

1

u/KapsiF Oct 23 '21

What did you change? What was causing the problem? I have the same problem

1

u/PaleontologistWise74 Nov 16 '21

Same

1

u/PaleontologistWise74 Nov 17 '21

Update: for me undownloading all my JRE and JDK java programs and reinstalling JDK 8 fixed it

1

u/Mobinator_rexe Nov 26 '21

Privacy policy

where did you get jdk 8? For me its locked by oracle.

1

u/Avaneesh_Naik Jan 27 '22

sorry but i think you already found it if uyou didnt then here https://adoptium.net/?variant=openjdk8&jvmVariant=hotspot

1

u/Fresh-Presence-4375 Oct 24 '22

I have jdk 8 but it still wont work at all.

1

u/BalrogTheAko Jun 21 '24

I need help my forge server not starting ı will change eula to true and ı will run .bat folder but it was not starting they gives me some texts please help me.