CraftBukkit server help (RUN.bat)

Discussion in 'Bukkit Help' started by showplaces, Jul 7, 2011.

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

    showplaces

    I made my txt document with

    I double clicked it and it says:

    [​IMG]

    What do I do?
     
  2. Offline

    ImminentFate

  3. Offline

    Th3Controller

    If you have a 64 bit then you should not be writing "(x86)"
    64 Bit
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    32 Bit and 86 Bit
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
     
  4. Offline

    HadrienM

    86 bits ? huh ? no, it's x86 and/or 32bits, but not 86bits... xD
     
  5. Offline

    Th3Controller

    Incorrect sir you have proved me wrong in the othe rpost but 86 bit runs like 32 bit its confusing I know but my friend has a 86 bit and ive seen it, its a windows xp but only has program files. I have a 64 bit my self and theres 2 program files so its compatible with some programs that old. So 32 and 86 bit are the same when running bat files but 64 bit is very different. I dont really know why microsoft has to be complicated but hey theyre microsoft .
     
  6. Offline

    alixjg

    um... in 32 bit windows (x86), you only have a program files folder (because it's already x86 architecture).
    in 64 bit windows (x64) you have 2 folders, one for 64 bit programs "Program Files" and one for 32 bit programs "Program Files (x86)"
    You're welcome

    ANYWHO... my run.bat looks like this

    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE

    with the newer versions of java, you don't need the whole file path. Java is a command now.
     
Thread Status:
Not open for further replies.

Share This Page