Create a .txt file. Input
java -Xms#$ -Xmx#$ -jar &”

Key: # = Amount of –> $ = G for gigabyte, M for megabyte, and B for byte; & for EXACT name and file extension of server jar/exe.
Rename the extension from .txt to .bat
Run the .bat, this should activate the server. If running an exe, add gui after .exe in the .bat code. This will launch the Cmd Line application and the server GUI. Both will work the same.


  • -Xmx is the maximum of RAM which the server can use.
  • -Xms is the allocated RAM at the beginning.
  • Xms must not be greater than -Xmx!