I have been trying to start my localhost server for a few days, but the .batch file can't be started? Neither an error message nor anything else comes up, the window simply closes immediately after double-clicking?
What is in the .bat file?
The text should look like this:
java -Xms3G -Xmx3G -jar server.jar
For me it says:
java -Xmx4024M -Xms4024M -jar PaperSpigot-1.8.8.jar nogui
Did you "accept" the Eula?
Yes, but it can't be because it doesn't open cmd from the start
I just opened the file through CMD and then this came up:
Error occurred during initialization of VM
Could not reserve enough space for 4120576KB object heap
The entry would be correct if your PaperSpigot-1.8.8.jar had the same name.
If it's called paperspigot.jar, rename it so that both have the same name.
Yes, they are already called the same. Thanks for your answer anyway, but I've found the problem and haven't been able to fix it yet, maybe you know how to fix it:
Error occurred during initialization of VM
Could not reserve enough space for 4120576KB object heap
Stay healthy!
You don't have enough memory / RAM
I have 16GB of RAM and the Task Manager says that I still have 12GB free?
Have you also assigned the required number to your server. It needs more than 5GB
Translated, the message means: Could not use enough memory for object 4120576KB.
You don't have enough RAM or you work with a 32-bit JVM and / or a 32-bit operating system.