Batch Startup help

Discussion in 'Bukkit Help' started by EpiphoneKL, Dec 17, 2011.

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

    EpiphoneKL

    Well, I restarted a new server. I was going through and made a batch file to start it up. It's not starting up? I click on it I see it startup but then closes back down.
    I'm using it as so:

    {Where the folder is like C:\Users\Kyle Lucas.KyleLucas-HP\Desktop\[ServerName]}
    Craftbukkit-1.0.1-R1
    Anything I'm doing wrong?
     
  2. Offline

    Killburner

    Have a look at the Bukit wiki. There's are some example startup scripts on that page.
     
  3. Offline

    zipron

    Be sure you use the same name as your craftbukkit jar file, on the wiki it uses a snapshot file so you'll have to change that the the latest RB name:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx1G -jar  Craftbukkit-1.0.1-R1 .jar
    PAUSE
    
    Hope that works,
    zip
     
Thread Status:
Not open for further replies.

Share This Page