run.bat not working

Discussion in 'Bukkit Help' started by jeterman900, Jul 13, 2013.

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

    jeterman900

    Everytime i try to run.bat it comes up in commmand prompt and says press any key to continue. I press enter then it dissapears. Does anyone know the problem to this?
     
  2. Offline

    Necrodoom

    screenshot the full thing it says please.
     
  3. Offline

    Swagster9000

    It's not working for me either.
    Here's the screenshot.
     

    Attached Files:

  4. Offline

    random_username

    Go to you local disc, and then check program files, and program files x86 . Look if any of them has java. Now, do the following:
    1. Rename your Jar file to Craftbukkit
    2. remove what you have in your bat file, and use one of these:
    if you have java in program files, use:
    Code:
    ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar
    PAUSE
    If you have java in program files x86, use:
    Code:
    ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar
    PAUSE
    Now try starting it.
     
  5. Offline

    EdwardBailie

    First rename your jar file to craftbukkit.jar. Then use this code ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar
    PAUSE

    If you have java in Program Files x86 use this ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar
    PAUSE

    If it doesn't works, then try re-installing Java :)
     
  6. I suggest getting this for a console its much better and cleaner !
    http://dev.bukkit.org/bukkit-plugins/bukkitgui/
     
  7. Offline

    Ducebox01

    this page has helped sooooooooo much. i was so frustrated with all the confusing java instructions and then i found this page! THANKYOU SOOOOOO much you guys have helped me alot:D:D:D
     
Thread Status:
Not open for further replies.

Share This Page