Solved Cannot access jarfile

Discussion in 'Bukkit Help' started by flerbergerber, Jul 6, 2012.

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

    flerbergerber

    Whenever I open my RUN.bat, it tell me "cannot access jarfile craftbukkit.1.2.5-R4.0.jar" I made sure I named the .jar file that same thing, but it still says that. I use (obviously) Craftbukkit R4.0. My RUN.bat is:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.2.5-R4.0.jar
    PAUSE

    I use Java 6, not 7, and I have no plugins installed.
     
  2. Offline

    Omnitv

    Rename this
    PHP:
    jar craftbukkit-1.2.5-R4.0.jar
    To whatever your craftbukkit jar is in your directory.
     
  3. Offline

    flerbergerber

    Yes, I already had them matching, but it still says that.
     
  4. Offline

    Omnitv

    Screen shot your server folder directory
    should be like:
    Start.bat
    Craftbukkit.jar
    Permissions
    ect
     
  5. Offline

    flerbergerber

  6. Offline

    Omnitv

  7. Offline

    flerbergerber

    I'm installing it now. I'll let you know if it works.

    I re-downloaded craftbukkit and it still didn't give me any craftbukkit file.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  8. Offline

    Omnitv

    What do you mean? just move the craftbukkit.jar to your server directory right next to your server.bat or start.bat
     
  9. Offline

    flerbergerber

    What? Put my .jar into the directory? I can't
     
  10. Offline

    Omnitv

    See here i think you are confused, Its not like adding a Mod to your minecraft.
    See here;
     
  11. Offline

    flerbergerber

    But when he put his craftbukkit in that folder, he had way diff stuff than I had...
     
  12. Offline

    Omnitv

    Just follow his steps, its the same process.
     
  13. Offline

    flerbergerber

    But when I put my craftbukkit.jar into a folder, it doesn't give anything like what he had in his, so I can't follow his steps.
     
  14. Offline

    Omnitv

    Step one:
    Make a Server.txt

    Step Two:
    Open it with notepad and add this info.
    Java 6
    PHP:
    @ECHO OFF
    SET BINDIR
    =%~dp0
    CD 
    /"%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" 
    -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    Java 7
    PHP:
    @ECHO OFF
    SET BINDIR
    =%~dp0
    CD 
    /"%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" 
    -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    Step Three
    Rename Server.txt to Server.bat

    Step Four
    Move CraftBukkit.jar and your server.bat to a folder named "My server"

    Step Five
    Double click on the server.bat
    WAIT for it to load and stop talking.

    Step Six
    Type
    PHP:
    stop
    In server console.

    Step Seven
    You have a fully compatible server will all the necessary information.
    Enjoy.
     
  15. Offline

    flerbergerber

    Thanks! It works! Sorry, the problem was I had my Server.bat inside of my .jar. But thanks for helping me :D
     
  16. Offline

    Omnitv

    Set to solved. you can remove it later when necessary.
     
Thread Status:
Not open for further replies.

Share This Page