Java Running server error

Discussion in 'Bukkit Help' started by XxWolfTorrentxX, Jan 5, 2013.

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

    XxWolfTorrentxX

    I just got a new computer and tried to run my server but it comes up with "Java is not recognized and a internal or external command or batch file" I tried reinstalling Java and using my good luck charm, (My dog :D) But it didn't work, I saw on the bukkitwiki that you have to add the system to your path but that's to complicated for me.. :(
     
  2. Offline

    LaxWasHere

    What OS?
     
  3. Offline

    XxWolfTorrentxX

    Windows 8, tough cookie to crack.
     
  4. Offline

    AyshineMatt

    I don't believe Bukkit supports Windows 8, but I have no proof. Correct me if I'm wrong.
     
  5. Offline

    Fuzzwolf

    You probably need to set your java path variable, otherwise Java is not recognized as a command. Alternatively, you could specify your Java path within the actual batch file you are using to launch your server.

    Example with Java 7:

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    Edit: Could you also post your start up batch script?
     
Thread Status:
Not open for further replies.

Share This Page