System cannot find path specified

Discussion in 'Bukkit Help' started by Zatone, Mar 4, 2012.

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

    Zatone

    I'm sorry for the noob question. I've installed the latest build of bukkit and put it into a server directory, and made the batch file, but when I run it I get the message "System cannot find path specified." I'm running it on a 64-bit Windows Vista. My Java is version 6 and is running in 32-bit mode. Here are the contents of the batch file:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFilesx86%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE

    I'm not sure what's causing the problem...does the craftbukkit .jar file need to go in a specific directory? Is something missing from my Java bin? I'd appreciate any help!
     
  2. Offline

    Danzeee

    Zatone

    Ehh, this is bent, you need to create a path for java, I've done it but I've got no idea how I did it.

    I remember the youtube channel I learnt it from, try this



    If you go through that tutorial it should explain how to set the path
     
  3. Offline

    Zatone

    Well, I've learned to create the path now, but I still can't get it to work. It's currently set to:

    Computer\C:\Users\(Me)\Program Files (x86)\Java\jre6\bin

    Is something wrong with this?
     
  4. Offline

    Danzeee

    Try just doing this

    Code:
    java -jar Xms1024M -Xmx1024M -jar craftbukkit.jar
    It's the much simpler version to execute it
     
  5. Offline

    Zatone

    Didn't work either...now I'm using:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE

    And it says it can't find the craftbukkit.jar file...Seems to be closer to being right. Should that .jar file be in the java bin? I have no craftbukkit.jar but I do have craftbukkit-1.2.3-R0.1.jar.

    Nevermind, setting the name to plain old craftbukkit (without the .jar) worked for me. Now all I want to know is, once I use the run batch file, how do I even work this thing? All I've got is a command prompt...how do I make/run the server file? I'm so lost!
     
  6. Offline

    Danzeee

    get craftbukkit whatever version the version in that link is 1.2.3 BETA build.

    Run this...
    Code:
    @Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.2.3-r0.1.jar
    PAUSE
    Do that,

    But seriously, consider about making a server.... if you can't even work out how to run it I honestly don't think it's meant for you
     
Thread Status:
Not open for further replies.

Share This Page