My server won't work

Discussion in 'Bukkit Help' started by valetion, Jan 9, 2013.

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

    valetion

    Okay, so here is all the details.

    I downloaded craftbukkit.
    I put it into a folder.
    I opened a new text document in the folder.
    I put this code in (like it said to, in the wiki)

    "java -Xmx1024M -Xms1024M -jar craftbukkit-1.3.1-R2.0.jar"

    I saved the file as "run.bat"

    When I double click on the "run.bat" it will open CMD for about a millisecond, then force close itself.

    I recently downloaded java64 bit (as recommended) and that didn't help.

    I don't know what to do, I've watched countless videos, read multiple blogs and nothing helps. I'm stuck. PLEASE HELP (as I am obviously too stupid to help myself -_-)

    if you need any more info, just let me know. THANK YOU!
     
  2. Offline

    Iaccidentally

    valetion
    Code:
    java -Xmx1024M -Xms1024M -jar craftbukkit-1.3.1-R2.0.jar
    the name of the jar in your script needs to match the name of the actual jar you want to run EXACTLY.
     
  3. Offline

    valetion

    Okay, first of all I thank you SO much for replying, but I still have the same problem. I replaced my code with the one you gave me and The same problem is still reoccurring.
     
  4. Offline

    Scipione

    Make a new line in the .bat and type:
    pause

    Then the windows will remain open and you can post a more specific error
     
  5. Offline

    breezeyboy

    Try
    PHP:
    java -Xmx1024M -Xms1024M -jar craftbukkit*.jar
     
  6. Offline

    valetion

    Okay, I did what you said and it stayed open! YAY! And now it just says "unable to access jarfile craftbukkit-1.3.1-r2.0.jar" is this easy to fix? :)
     
  7. Offline

    Iaccidentally

    Try what breezeyboy said. Your current script is trying to open a file named "craftbukkit-1.3.1-r2.0.jar" which does not exist, because you don't have that version of craftbukkit. The name in your script needs to match the name of the jar you are trying to run. For example, if you have craftbukkit-1.4.6-r3.0.jar, you need to have the exact same thing in your script. Alternatively, you can just put craftbukkit.jar in your script, and rename the actual jar to "craftbukkit.jar".
     
    breezeyboy likes this.
  8. Offline

    valetion


    okay, so I tried that and this is what comes up.

    "unable to access jarfile craftbukkit.jar"

    what am I doing wrong? -.-
     
  9. Offline

    Scipione

    what is the name of you .jar file ?
    Ist the .bat file in the same folder as your .jar file ?
     
  10. Offline

    Zankla

    Try this it worked for me it works for craftbukkit as well not just tekkit

     
  11. Offline

    Assult

    Try renaming it craftbukkit without the .jar, the problem might be that you are naming the file craftbukkit.jar.jar
     
  12. Offline

    valetion

    okay guys. so I tried again, and this came up.

    "java is not recognized as an internal or external command, operable program or batch file."


    WHAT IS WRONG WITH ME. I don't get why this is so hard for me -_- I just kinda wanna falcon punch my computer.
     
  13. Offline

    Iaccidentally

    What operating system are you using? do you have java installed?
     
  14. Offline

    valetion

    1:windows 8

    2: yes, I have installed java 64bit, and java 7
     
  15. Offline

    Iaccidentally

  16. Offline

    WhoThatSword

    use this code or...
    this 1 works fine for me
     
  17. Offline

    valetion

    I tried both. the first one, brought up the same error (it cannot access the file-YES, THEY ARE NAMED THE SAME-)

    And the second, said that java was not a recognized internal/external command, operable program or batch file.

    thank you so much for the help, but I'm starting to lose hope T-T
     
  18. Offline

    Iaccidentally

    try reinstalling java.
     
  19. Offline

    jjacobson

    This will fix that, I am on win8 and had the same problem.
     
  20. Offline

    valetion

    Okay, so I followed the video to the T. Down to every last word. Now that it's connected to path, it's unable to access the craftbukkit.jar file! (both have the same name)

    someone needs to do a screenshare with me and help *annoyed sob*

    GOOD NEWS!!! I GOT IT UP!!!


    ...


    only one problem... I can't connect. it will say

    "connection refused: connect"

    at first, I thought my port forwarding had gone buggy. so I did a test.

    I changed the "max players:20" to "max players: 40" to see if it would update. It DID.

    So it's obviously not my port forwarding. The internet can easily connect to my server, but I cant. My friends can't either... Please, I'm so tired of this. Can someone help?

    I also tried connecting with "localhost" and that was refused as well.

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

    DoodleGuy33

    Me too lol
     
Thread Status:
Not open for further replies.

Share This Page