Error: Unable to access jarfile craftbukkit.jar

Discussion in 'Bukkit Help' started by baileym9898, May 11, 2012.

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

    baileym9898

    When I go to run the RUN.bat file it comes up Error: Unable to access jarfile craftbukkit.jar, why is this?

    The recommended build I used was craftbukkit-1.2.5-R1.0
    In the RUN.bat file I put :

    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
     
  2. Offline

    Paswaru

    Common causes:
    1) Make sure your run.bat is in the same folder as craftbukkit.
    2) Make sure you renamed craftbukkit-1.2.5-R1.0.jar to craftbukkit.jar.
    3) Make sure you didn't rename it to craftbukkit.jar.jar.
    (One way to tell is if you don't see .bat on the end of run.bat, but you see .jar on the end of craftbukkit, you've named it .jar.jar)
     
  3. Offline

    Jade

    Or leave the .jar named craftbukkit-1.2.5-R1.0 and change the bat script to
    Show Spoiler

    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.2.5-R1.0.jar
    PAUSE
     
  4. Offline

    Okalanit

    I found out that even though I saved my open file as .bat, I had to rename it inside of the folder once I was done. So be sure to rename the OPEN file to OPEN.bat inside the .minecraft server file. Also be sure the server and the open file are in this folder or you will not find it properly.
     
  5. Offline

    jim391

    THANK YOU SO MUCH!!!!!
     
  6. Offline

    Karldad1

    Hey I have the same problem with it saying cant access jar-file and i did all the things that have been said on this thread and i still have the problem can someone please help me soon
     
  7. Offline

    BlackNRedbirdie

    thanks that helped :D
     
Thread Status:
Not open for further replies.

Share This Page