1

RUN Help

denslowalec 2/27/12 7:52 pm
25
2/27/2012 9:05 pm
Hello

I am looking to upgrade my ram. I am currently running my server off f my computer. This is my Run code...

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.1-R1-SNAPSHOT.jar
PAUSE

The server Works but i want to upgrade it to maybe 2 or 3 GB Ram (yes i have an 8 gb ram computer)

What would i change my code to for that to work?

Thanks everyone!

p.s I changed my craftbukkit to craftbukkit-1.1-R4...i dont know if i need to change that or not?
Posted by
denslowalec
Level 1 : New Miner
2

  Have something to say?

JoinSign in

4

denslowalec
02/27/2012 9:05 pm
Level 1 : New Miner
it says

the system cannot find the path specified?
1
denslowalec
02/27/2012 9:02 pm
Level 1 : New Miner
Thanks
1
aeoidvnsldf
02/27/2012 8:47 pm
Level 39 : Artisan Dolphin
My bad, the part where my post says "%ProgramFiles%\Java\jre7\bin\java.exe" make sure to change the "jre7" to "jre6", unless you updated to Java 7
1
aeoidvnsldf
02/27/2012 8:44 pm
Level 39 : Artisan Dolphin
You could do this:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.1-R1-SNAPSHOT.jar
PAUSE

Just replace the 1024 with how many MB of ram you want java to reserve for the server.

BTW the jar name does not matter, you could name it anything you want as long as it matches the name in the startup.

Just make sure to post this kind of stuff in the Server Help section next time, because we might get yelled at

Peace
1

Welcome