Error: Unable to access jarfile craftbukkit.jar

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

  1. Offline

    coolio5462

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When ever I try starting up my server, the console gives me the error message "Unable to access the jarfile craftbukkit.jar". Can anyone help me?
  2. Offline

    FXHNTR

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @coolio5462
    I'm assuming that you already have the craftbukkit build and everything else. So I'm only going to answer why you're getting that console message.

    Basically, you need to copy the name of the build, then paste it here, replacing the "craftbukkit.jar"
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    If you still get an error, then try adding (x86) after program files.
    Ex "%ProgramFiles(x86)%\Java\jre6\bin\java.exe""
  3. Offline

    coolio5462

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I wrote the run file as:
    @Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.1-R6-20120301.142116-2
    PAUSE
    Now i get "Unable to access the jarfile craftbukkit-1.1-R6-20120301.142116-2"
  4. Offline

    FXHNTR

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    try running it without the (x86)
  5. Offline

    coolio5462

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I did and the error came as:
    The system cannot find the path specified
  6. Offline

    coolio5462

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Anyone else have any other ideas or should i just hope that I don't get the same error when R5 comes out?
  7. Offline

    OneManHero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    A little late but the reason for the error and possibly future errors is because after " craftbukkit-1.1-R6-20120301.142116-2" there should be a ".jar"
    so it should say

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

    hope that helps
  8. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  9. Online

    Lolmewn BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh Zero, you and your ever Bukkit Gui.
    And your posts without dots. Horrible, isn't it!

    Anyway: The problem is that you forgot to add .jar to the end of the filename, just like OneManHero said.
  10. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    cause i meet many ppl for who bat files dont work and i did not meet any 1 for who bukkit gui did not work

    dots for u

    [IMG]
  11. Online

    Lolmewn BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  12. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it was from google and it isnt paint
  13. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  14. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    try without plugins
  15. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    works fine without the gui mind you so its ported correctly, I did try without any plugins as you suggested and it still fails to start the server properly

    This post has been edited 1 time. It was last edited by el_freakyfrog Apr 9, 2012.
  16. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    lol do i have to write a .bat file to start the gui with more memory? :p
  17. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  18. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    k, this time i tried closing the gui with that pesky lil X at the top of all windows and each time I clicked it I got a different message after the first time
    I got this...
    7:02:54 PM [INFO] Starting minecraft server version 1.2.5
    7:02:54 PM [INFO] Loading properties
    7:02:54 PM [INFO] Starting Minecraft server on *:25565,

    after the second time this...7
    :03:15 PM [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    7:03:15 PM [INFO] Preparing level "survival"

    and lastly....
    7:04:35 PM [INFO] Default game type: 0
    7:04:35 PM [INFO] Preparing start region for level 0 (Seed: -4723319227695099686)
    7:04:36 PM [INFO] Preparing start region for level 1 (Seed: -4723319227695099686)
    7:04:36 PM [INFO] Preparing spawn area: 8%
    7:04:37 PM [INFO] Preparing start region for level 2 (Seed: -4723319227695099686)
    7:04:37 PM [INFO] Preparing spawn area: 48%
    7:04:37 PM [INFO] Server permissions file permissions.yml is empty, ignoring it
    7:04:37 PM [INFO] Done (81.807s)! For help, type "help" or "?"
    7:04:37 PM [INFO] CONSOLE: Stopping the server..
    7:04:37 PM [INFO] CONSOLE: Stopping the server..
    7:04:37 PM [INFO] CONSOLE: Stopping the server..
    7:04:37 PM [INFO] CONSOLE: Stopping the server..
    7:04:37 PM [INFO] CONSOLE: Stopping the server..
    7:04:37 PM [INFO] Stopping server
    7:04:37 PM [INFO] Saving chunks

    Server Stopped...
  19. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    bad joke lol sorry
  20. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i have no idea what is ur problem ur confusing

    so tell me what is it again and what u done
  21. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a .bat file set up to start the server at max memory and works fine, server works fine, my girl and i play all the time, however I dl'ed the gui as i wasn't getting a console window. I understand software and how it needs a target and pointed the gui to my server file the .jar file not the .bat, as i noticed it didn't need the .bat file with the gui's onboard memory allocation. Mind you my server is ported correctly, as I can use the server still without the gui, however with the gui, I start the server and I cant connect and the server appears to be offline. When i close the gui, I get spammed with server start errors which is probally due to plugins not having been updated for the new 1.2.5 build, so I get the impression the gui is freezing up on me and failing to start the server correctly. Any suggestions?

    I removed the plugins that didn't work and the gui still seems to freeze after this "6:40:03 PM 182 recipes
    6:40:03 PM 27 achievements..." and only gives me the other messages after each click of the X that closes the window like the server is up and running but no one is able to connect when I use the gui. Without the gui, it works fine
  22. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    rebooting to see if that helps
  23. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    and did u try without any plugins at all ? like no plugins in plugins folder ?

    so than we can say if gui will work for u anyway
  24. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yah i give up on the gui for now, even without any plugins it still fails to start the server
  25. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    in
    now change ur jar file name to craftbukkit.jar
    download all this 4 ran bat files
    http://www10.zippyshare.com/v/59676018/file.html
    http://www10.zippyshare.com/v/89517238/file.html
    http://www10.zippyshare.com/v/13520515/file.html
    http://www10.zippyshare.com/v/75829181/file.html

    and than 1 by 1 run them

    and for sure 1 will work

    ----------------------------

    u know u need to place bat files into same folder as crabukkit.jar dont u ?

    This post has been edited 1 time. It was last edited by ZeroZX4 Apr 9, 2012.
  26. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    your bat files wont work as is, cuz I have jre6 not 7, so I changed it all to jre6 instead and it did give me a console window thanks
  27. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  28. Offline

    Bertware

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This tool generates a .bat file for you: link (run as admin)

    if you don't want to use the tool:
    "[JAVA_INSTALLATION]" -xincgc -xmx1024M -jar "[JAR_FILE]"
    Pause

    Java installation is the path of java.exe, e.g. C:\Program Files (x86)\Java\Jre 6\bin\java.exe
    1024M is the amount of memory in MB to allocate, in this example 1024MB
    [JAR_FILE] is the name of your jar file, including the .jar. Example: craftbukkit.jar
    Pause will cause the console to display the output.
  29. Offline

    el_freakyfrog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i wonder why the regular console doesn't seem to work, cheers tho, both of your bat files works for what i need, oh and i was using world guard and world edit for the longest time are there any other world editing plugins out there that are noteworthy?
  30. Offline

    coolio5462

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    IT FINALLY WORKED!!! Thank you guys sooo much!!!

Share This Page