how to make a run.bat?

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

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

    shauwk

    hey how do i make a run.bat?? could someone help me make one? i currently use this command

    java -Xincgc -Xmx1024M -jar craftbukkit-1.0.1-R1.jar
     
  2. Offline

    zipron

    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
    
    That should be fine =)
    zip
     
  3. Offline

    shauwk

    ive never made a .bat before so im totally clueless.. do i put that command in my terminal??

    im on mac btw if that matters
     
  4. no. Create a file .txt but name it start.txt so its a text document, Copy and past what Zap said up there into that document, then change it from a txt to a .bat
     
  5. Offline

    TnT

Thread Status:
Not open for further replies.

Share This Page