(Video Question)System Cannot Find the Path Specified

Discussion in 'Bukkit Help' started by jakejigsaw, Aug 6, 2012.

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

    jakejigsaw

    Note: I have made all the files and such by dragging the .Jar of bukkit into a CMD. and it worked 0.0 .. i than added the run back in same as in the vido. now my computer is all slow and i dont know what happening.​

    Bump.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  2. Offline

    fugue2005

    open a command prompt and type java
    see if it says cannot find java or if it comes up with a whole bunch of java stuff


    if it comes up with a whole bunch of java stuff:

    remove everything from that run.bat and replace it with

    java -Xmx1024m -Xms1024m -jar craftbukkit-dev.jar

    99.99% of java windows installations i have encountered automatically add java to the path.
     
  3. Offline

    jakejigsaw

    i typed java in the CMD.. and go this
    'java' is not recognized as an internal or external command,
    operable program or batch file.

    Do i still just run with
    java -Xmx1024m -Xms1024m -jar craftbukkit-dev.jar

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  4. Offline

    Xmillsa

    Replace "java" with the following:
    "%ProgramFiles%\Java\jre6\bin\java.exe" (for Java version 6)
    "%ProgramFiles%\Java\jre7\bin\java.exe" (for Java version 7)

    Or where ever you've installed Java...

    Edit: Just noticed you've got "%programfiles(86x)%" in the video, where it should be: "%programfiles(x86)%"
     
  5. Offline

    jakejigsaw

    'Programm' is not recognized as an internal or external command,
    operable program or batch file.
    Thats what comes up in the CMD now

    in my java folder i have jre6 and 7? could that be the problem
     
  6. Offline

    Xmillsa

    I didn't write "Programm" anywhere?
    Anyway, re-read the last post, I made an edit.
     
  7. Offline

    jakejigsaw

    stilll cant get it.
    I have the Craft bukkit jar thing, its in a new folder.. now I.. _____________________
     
  8. Offline

    Xmillsa

    It's because your bat file is wrong.

    Lets start from the beginning.

    1) Download Craftbukkit http://dl.bukkit.org/

    2) Rename the downloaded craftbukkit to: "craftbukkit.jar"

    3) Create a "run.bat" file and copy and paste this text:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    4) Double click on the, "run.bat" file.

    5) Enjoy your server! (Or post any errors...)

    Also try following this guide, it's the official guide to setting up a server, if you follow it correctly you'll have a server up in no time!
    http://wiki.bukkit.org/Setting_up_a_server
     
    jakejigsaw likes this.
  9. Offline

    jakejigsaw

    Thanks bro;)
     
Thread Status:
Not open for further replies.

Share This Page