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!
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.
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.
Make a new line in the .bat and type: pause Then the windows will remain open and you can post a more specific error
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?
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".
okay, so I tried that and this is what comes up. "unable to access jarfile craftbukkit.jar" what am I doing wrong? -.-
Try renaming it craftbukkit without the .jar, the problem might be that you are naming the file craftbukkit.jar.jar
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.
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
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.