1

Start Server.bat isn't launching

SunGodBoyREAL •5/13/15 5:18 am
•
149
•
5/15/2015 1:19 am
So, I made a 1.6.4 Vanilla Server, and I tried to give it 1GB Ram, but for some reason, the Batch file, wasn't working, It opens and closes immediately, I use Windows 7, x32 Bit. So I need a little bit of help with that, The Server works perfectly by the way.
Posted by
SunGodBoyREAL
Level 1 : New Explorer
0

  Have something to say?

Join • Sign in

6

SunGodBoyREAL
• 05/15/2015 1:19 am
• Level 1 : New Explorer
They really need a Thanks button like in a forum I went to earlier, anyway, Thanks Guys.
1
xxlinuxyxx
• 05/14/2015 10:04 pm
• Level 9 : Apprentice Network
Put this in a notepad do...

java -Xmx1024M -Xms1024M -jar minecraft_server.1.6.4.jar
pause


the -Xmx1024M and the -Xms1024M are "how much ram do you want to provide for the server" dont give all your ram to the server leave some to the os(or computer)

the -jar minecraft_server.1.6.4.jar put your jar file name like this
-jar {Your Jar File Name Here}

so it will be like this

java -Xmx1024M -Xms1024M -jar {Your Jar File Name Here}.jar
pause


hope this will work for you
1
Julius_Caesar_
• 05/14/2015 4:30 pm
• Level 5 : Apprentice Warrior
The filename is supposed to have it's filetypename in your code. Try using "minecraft_server.1.6.4.jar" to be able to run it. Also make sure that your .jar file is in the same directory as where the .bat file is located.
1
SunGodBoyREAL
• 05/14/2015 1:21 pm
• Level 1 : New Explorer
So, I tried it, and It didn't work, also under the code, it said Error: Unable to access jarfile minecraft_server.1.6.4
1
Julius_Caesar_
• 05/13/2015 7:42 am
• Level 5 : Apprentice Warrior
In order to prevent your run.bat or in your case server.bat from closing, put a "pause" as a last line in your file (Without the apostrophes).
Perhaps you could paste the contents of your file here, and people can have a look at it?
Make sure that the name of the .jar file in the code is the same as the one in your server folder.
1
SunGodBoyREAL
• 05/14/2015 1:19 pm
• Level 1 : New Explorer
java -Xmx1024M -Xms1024M -jar minecraft_server.1.6.4 this is what I typed in, and OK I will try what you said, I will post the results afterwards.
1

Welcome