.bat file says it cant acces craftbukkit.jar

Discussion in 'Bukkit Help' started by SwiftyMove, May 4, 2013.

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

    SwiftyMove

    Hi i have been hosting a minecraft server for me and my friends to play on. But I recently heard of bukkit, I have been trying to make a bukkit server but when i make thae .bat file and start it up i get this error "Unable to access jarfile craftbukkit" Please help it would mean the world to me!
     
  2. it may be that another program is using it (maby virus checker?) or if your storing your craftbukkit.jar in a location with a space in it, you need to wrap it in quotes.

    e.g.
    C:\Bukkit\craftbukkit.jar
    is fine, but
    C:\Bukkit server\craftbukkit.jar
    would need to be put in quotes, so:
    "C:\Bukkit server\craftbukkit.jar"
     
  3. Offline

    Chew1511

    In the .bat file, do you have the full name of the .jar file? Cant be craftbukkit.jar, has to be craftbukkit-1.5.1-R0.2.jar or whatever the full name of the jar file is. Or rename the .jar to craftbukkit.jar.
     
  4. Offline

    SwiftyMove

    no i dont think its that all it says is that it cant access the craftbukkit jarfile but it wouldnt have to do with spaces because the folder im storing it in is called BukkitServer

    yes i have the names correct ive checked that before and it doesnt seem to be the problem the problem is the commadn promt says it cant cces the .jar file

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  5. Offline

    TnT

    Do you have file extensions hidden? The most common result of this error is the OS (Windows) hiding file extensions and naming the file craftbukkit.jar.jar, but it only shows up as craftbukkit.jar (as the last .jar is hidden).

    Try renaming the file to *just*: craftbukkit
     
  6. Offline

    SwiftyMove

    THANK YOU SOOO MUCH OMG IM SOO HAPPY IT WORKED THANKS A MILLION TIMES!!!!
     
Thread Status:
Not open for further replies.

Share This Page