"The system cannot find the path specified" Error

Discussion in 'Bukkit Help' started by kpalmz28, Sep 10, 2012.

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

    kpalmz28

    Hi, I just got a new computer and I did not back up my bukkit server folder/world so I was going to start fresh. I downloaded the latest craftbukkit and I remembered the code to do the "start.bat". But now it came up with this error (http://i.imgur.com/QR9V9.jpg) but I think that means that I did not put the right name for the jar "%ProgramFiles%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit.jar. But it is right? (http://i.imgur.com/va5SY.png) This might be an easy fix but I really don't know what to do! Thanks if you can help!
     
  2. Offline

    bhallowitz

    Try replacing:
    "%ProgramFiles%\Java\jre6\bin\java.exe"

    With just:
    java

    The error means that windows can't find the path that you specified, in this case the path to java.exe
    Replacing it with java instead of the full path should work 99.9% of the time
     
  3. Offline

    jacklin213

    try this
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    
     
Thread Status:
Not open for further replies.

Share This Page