Solved my minecraft server doesnt work!

Discussion in 'Bukkit Help' started by Pmaster, Aug 16, 2012.

  1. Offline

    Pmaster

    When i saw that the update was up, i decided to download the recommended build. When i did all you had to do to update, and i pressed the start.bat program, this message came up:

    Error: Unable to access jarfile craftbukkit-1.3.1-201208-15.jar
    Press any key to continue . . .
    What do i have to do?
    If anyone can answer this, id be most grateful.
     
  2. Offline

    Ipzen

    you need to open your .bat file and change the name on craftbukkit-blablabla... to the new name on the new file.

    OR if the old file was called just craftbukkit.jar, then change the new craftbukkit file to that name
     
  3. Offline

    Pmaster

    Yeah, i did that. But it doesnt work. I think i updated to one of the new dev builds, the ones after 1.3.1 rec build.
    this is what i put: ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.3.1-R1.1-20120815.173025-15.jar
    PAUSE

    And my craftbukkit is exactly that.
     
  4. Offline

    Ipzen

    try to rename it to just craftbukkit.jar and then change the file so its just craftbukkit.jar inthere aswell

    its the dot (.) in there that makes the code believe its the end of name and rest is a filetype
     
  5. Offline

    Nghtmr9999

    Are your windows extensions off so you accidentally named the jar craftbukkit.jar.jar?
     
  6. Offline

    Pmaster

    i really have no idea, how do u see that?
     
  7. Offline

    Pmaster

    It keeps on telling me it cant access the jarfile... im angry
     
  8. Offline

    Nghtmr9999

    Make another .bat file in the same folder with the following in it (borrowed from Xmillsa) :)

    Code (Text):
    1. @ECHO OFF
    2. SET BINDIR=%~dp0
    3. CD /D "%BINDIR%"
    4. dir /B *.jar
    5. PAUSE
    what does it spit out?

    Edit: correct .bat file stuffs
     
  9. Offline

    Ipzen

    the problem is here!

    Error: Unable to access jarfile craftbukkit-1.3.1-201208-15.jar

    and the files name is craftbukkit-1.3.1-R1.1-20120815.173025-15.jar

    Just change name to craftbukkit.jar on the file
    and then just change the code in .batfile to only craftbukkit.jar and it should work
     
  10. Offline

    Pmaster

    I tried that already, it doesnt work. You called your bat file .batfile?
     
  11. Offline

    Pmaster

    Do you think if i create a new one and i copy all the plugins and the map, it would work?
     
  12. Offline

    Pmaster

    SOLVED!
    Nghtmr9999 was right! I did have the file extencions hidde, so it didnt read it properly, it read two .jar
    Thanks all for your help and guidence!
    Im also going to keep this tread up, so if some clumsy person like me does the error i did, can look at some propositions.
     

Share This Page