Can't access .jar file on start up... Please Help!

Discussion in 'Bukkit Help' started by Lt_Redman, Feb 24, 2013.

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

    Lt_Redman

    I just created a server file with the "craftbukkit.jar" file and the "run.bat" file. But when I click the "run.bat" file, it gives a line saying, "unable to access JarFile craftbukkit.jar".

    I can't find anyway to fix this, Please help!!!
     
  2. Offline

    MysteryManX

    You haven't named the file correctly if it's telling you that. Have you made sure it's "craftbukkit.jar" and not "craftbukkit.jar.jar"? I know it sounds stupid, but just double check your startup script, and the file name, just to be sure.
     
  3. Offline

    AnUnknownMiner

    Here is what I have as my.bat file. I had this same problem until i ran into a script correction on a 3rd party forums.

    Here is mine......


    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx2048M -Xms2048M -jar craftbukkit.jar --nojline
    PAUSE

    Edit: I had to upgrade to 64-bit Java for this to work in CMD
     
Thread Status:
Not open for further replies.

Share This Page