I wanted to make a new server for me and my friends today, with mods. That's what I did then. Unfortunately, the server starts without the mods that I insert and does not create a mods folder as usual. I don't get an ERROR message. Just a warning. See image.
I'm pretty sure I didn't do anything wrong because I've built quite a few servers.
With the vanilla version it is still possible to join the server.
The server is 1.12 and runs with Forge version 14.23.5.2854
Did you move both jar files into the folder? So the minecraft_server and the forge jar? The server will not work with just one. You then have to start using the Forge jar. Not through the minecraft_server jar.
I also have a little problem with your start script. Usually you first say what the server should use minimally and then maximally. So would be:
java -Xms3G -Xmx3G -XX: + UseConcMarkSweepGC -jar your_server_jar.jar nogui
-XX: + UseConcMarkSweepGC is just a better garbage method. This makes the server run a little better.
Okay, I'll make a new server and try that way
So I have now done exactly as described, but the server crashes directly when I start it via the Forge file
Unfortunately, I can't read what is written there because it crashes directly and it has not yet created a log folder. Java -Xms3G -Xmx3G -XX: + UseConcMarkSweepGC -jar forge-1.12.2-14.23.5.2854.jar nogui That is now in my Start.bat
I was able to catch the error message with a screenshot. I have added
Got it now, the problem was that I was Java version 11 and not 8
That's funny. Actually, java 11 shouldn't be a problem.
I actually also heard that it works. The stupid thing is that I now have to run my 1.16 server on Java 8 because I don't know how to use both at the same time.