Bukkit server start.bat help

Discussion in 'Bukkit Help' started by duck0311, Aug 26, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    I am running Win7 x64 and java x64. I am trying to allocate 8 Gigs ot the server and I have the server on a ramdisk of another 4gigs. Is this the right run.bat file script???
    SET BINDIR=%~dp0
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx8192M -jar "%BINDIR%\craftbukkit-0.0.1-SNAPSHOT.jar"
  2. Offline


    Well does it work? It looks good to me but im more of a linux guy...
    zipron likes this.
  3. Offline


    Yep, that should work. Also, you can set a minimum amount of RAM to be used too. Just replace the Xingc with Xms7G and it will allocate 7-8 gigs dedicated for the server.
  4. Offline


    ok so i tryed that and for some reason it says it cant find the file. even when they are in the same folder
  5. Offline


    You must have added in a space accidentally or something. BTW, instead of putting the entire java location, you can just type this: java
    so that line should look like this:
    java -Xmx10G -Xms6G -jar "%BINDIR%\craftbukkit-0.0.1-SNAPSHOT.jar"
  6. Offline


    Heres Mine,
    Echo OFF
    SET BINDIR=%~dp0
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx4096M -jar "%BINDIR%\craftbukkit-1.1-R3.jar"
  7. Offline


    LINUX!!! sorry, had to do that =)
    hammale likes this.
Thread Status:
Not open for further replies.

Share This Page