Problem starting server

Discussion in 'Bukkit Help' started by Arceuxx, May 13, 2011.

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

    Arceuxx

    When i try to start the server (Run.bat) it says '' impossible to find the specified location', press a key to continue.''

    Someone can help me?
     
  2. Offline

    abdel

    You need to put the right location in your .bat file
     
  3. Offline

    Pisi-Deff

    Could you copy the file's contents?

    Might require a full path to java to find it.

    E:// Yay ninja! :D
     
  4. Offline

    Arceuxx

    Java.exe is in D:\Program Files(x86)\java\jre6\bin

    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE

    craftbukkit is in d:\giochi\minecraft\mc server

    What's the problem?
     
  5. Offline

    TBK

    Try this:
    Code:
    @ECHO OFF
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    No need for binding the drive letter to a variable.
     
  6. Offline

    Arceuxx

    Dont work :(
     
  7. Offline

    TBK

    Is your CraftBukkit file named: craftbukkit-0.0.1-SNAPSHOT.jar?
    If not you have to tweak it, same with the java executable, check that the file exists at that location.
     
  8. Offline

    Arceuxx

    Yes it is.


    EDIT: i reinstalled Java in C, without changing the default location, now it works!
     
  9. Offline

    TBK

    Super :)
     
Thread Status:
Not open for further replies.

Share This Page