'java' is not recognized as an internal or external command, operable program or batch file.

Discussion in 'Bukkit Help' started by Mastergle, Mar 21, 2014.

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

    Mastergle

    Can Anyone help whenever i try to run my server i get "'java' is not recognized as an internal or external command, operable program or batch file." and it's driving my crazy i've tried to re-install java but it doesn't work, i can open my Minecraft and play i just can't run my server. Can anyone help me? Thanks

    -Mastergle
     
  2. Offline

    DrPyroCupcake

    Go to your run.bat and put in this code instead. Also what is your Batch code that you are using now?
    Code:
    @echo off
    java -Djline.terminal=jline.UnsupportedTerminal -Xms1024M -jar "%~dp0craftbukkit.jar"
    pause
    The other thing to do is get a Server Manager, it normally fixes most problems. I use to have the same problem until I got one. I recommend Iridium you can get it here. (It is free)
     
  3. Offline

    Mastergle

    I used Iridium and i got
    Server Started at: 3/24/2014 11:30:24 AM 'java' is not recognized as an internal or external command, operable program or batch file.

    my current Batch code is the default
    java -Xmx1024M -jar craftbukkit.jar -o true PAUSE

    and the code you gave me said
    'java' is not recognized as an internal or external command, operable program or batch file.

    I'm running Java 32-bit i believe and am using bukkit 1.6.4
     
  4. Offline

    xa112

    Uninstall then reinstall Java because for some reason your computer thinks it isn't installed (Maybe try 64 bit). Also you need to change craftbukkit.jar to the name of the file in the folder. It would look probably like craftbukkit-1.6.4-R2.0.jar
     
  5. Offline

    Mastergle

    Alright i'll try it then get back to you
     
Thread Status:
Not open for further replies.

Share This Page