I Can't Run .bat

Discussion in 'Bukkit Help' started by Redemons1234, Dec 21, 2014.

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

    Redemons1234

    This is the message i get when i run .bat can anyone help me out!!!

    C:\Users\(My Name)\Desktop\Server 64bit 1.7.10\Server 64bit 1.7.10>java -Xms1024M -Xm
    x1024M -jar craftbukkit.jar -o true
    'java' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\(My Name)\Desktop\Server 64bit 1.7.10\Server 64bit 1.7.10>PAUSE
    Press any key to continue . . .
     
  2. Offline

    Skionz

  3. Offline

    Redemons1234

  4. @Redemons1234 Then you haven't properly added java to your path variable. Another solution is to replace "java" with the absolute path to the java.exe file.
     
  5. Offline

    Cluers12

    Try this one. Just replace the 'craftbukkit-1.7.10.jar with your jar name.
    Code:
    @echo off
    java -Xms1024M -Xmx1024M -jar craftbukkit-1.7.10.jar true
    pause
     
  6. Offline

    cmz1675

    Either rename craftbukkit-1.7.10.jar to craft bukkit .jar or make sure you have java runtime enviroment. Also try downloading java 8. Another thing is select your java path.
     
Thread Status:
Not open for further replies.

Share This Page