Hello, I recently started a server and I realized I need more ram to run it properly. My brothers PC had double my ram (16G) so I transferred the server over to his. I then made the .bat file and put in the command line for adding extra ram.omegle discord xender With pause added to the text, I can see what the issue is and it says “error, can not locate server.jar file. I looked up many ways of fixing this and nothing worked. I have Java 64 bit latest version installed, I have no other versions of Java installed, and I have QUADRUPLE CHECKED and made sure the the command line matches my server jar name. Any help would be GREATLY appreciated.
If it says "cannot locate server.jar file" - That means the server.jar file is not in the same directory with the .bat file Double-check, are you sure it's in there? In the same directory?
Hey, whenever i run a server this is the start script i run, @ECHO OFF java -Xms1024M -Xmx2048M -jar minecraft_server.jar nogui pause after i get a successful first launch i apply more memory to the xmx argument. Idk if this will help. Also make sure your server is binding to the correct port. You can check for an open port at canyouseeme.org[/QUOTE] Also, what server version are you attempting to run? Spigot/Vanilla/forge? Ver number?
The .bat file has to be in the same file as the server.jar is. You an also do the command "cd <directory>" to make it act as if it were in that folder. Tip: if you run multiple server cmds at the same time, you can also run the command "title servername Console," so you can label which console is which.