CraftBukkit startup error (WINDOWS)

Discussion in 'Bukkit Help' started by troadem, Jun 14, 2011.

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

    troadem

    When ever I start up CraftBukkit with a .bat file I have in the folder with the CraftBukkit .jar file in it, I get this error:

    [​IMG]

    Any help?

    My OS: Windows 7 Ultimate 64bit
    RAM: 2
     
  2. Offline

    Killie01

    redownload craftbukkit, always try that
     
  3. Offline

    ViruSpreadeR

    u got the latest craftbukkit.jar? and java too?is it latest?
    and what did you put in your batch file?
     
  4. Offline

    troadem

    I have the latest craftbukkit and java as well and this is what is in my .bat file:

    @ECHO OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx1G -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"

    PAUSE
     
  5. Offline

    speeddemon92

    From what I see there is nothing wrong with your .bat file but problem is a null source file. Try this. Make a new folder and copy the startup batch file to it and download a fresh recommended build then run the startup batch file. It should create the necessary files and not give an error. If it still gives the error either the Bukkit build became corrupted when you download it or there is a problem with your version of Java. If it succeeds slowly migrate your plugins to make sure there are no errors from config files or the plugins themselves
     
  6. Offline

    troadem

    Ok... trying now


    UPDATE: Still does not work.. I get the same error
     
  7. Offline

    ViruSpreadeR

    try the old batch file...sometimes old stuffs works...

    for java6 (open)

    Code:
    @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
    or
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE


    for java7 (open)

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


    and check if that directory has really java.exe in it...maybe u installed java on different place so scurry your programfiles and programfiles(x86) for java sre
     
  8. Offline

    1lann

    Well since he got a java exception error, that proves java is working but something's wrong with his server files/config. I've got a feeling that something might be wrong with the server.properties file.
     
  9. Offline

    troadem

    Java is in its respective folders and I tried all of the .bat file info and none of them worked.. I still get the same error

    I started new and all thats in the folder is the start.bat and craftbukkit-0.0.1-SNAPSHOT.jar file which is updated to the latest build

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
Thread Status:
Not open for further replies.

Share This Page