Solved Bat file not working and jar console not showing up

Discussion in 'Bukkit Help' started by digkingvg, Sep 14, 2013.

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

    digkingvg

    hay everyone. I know this is a common problem but I think I have a unique case... just hear me out OK?

    So I have my craftbukket jar and when i open it it will downloaded the stuff it needs for server but the console will not show up. I have downloaded Java JDK and set my java directory path. put in like 5 diffrent lines of code to in the txt file then changed it to a bat file and it still dosen't work.


    I have a 32 bit computer
     
  2. Offline

    Mayor_Mike

    Well, isn't this a pickle. May you post the Bat file here in code tags?
    Example:
    Code:
    Insert code here 
     
  3. Offline

    digkingvg

    Code:
    C:\Users\Dell\Desktop\bukket>java -Xmx1024M -Jar caftbukket.jar -o true
    Error: Unable to acces jarfile Craftbukkit.jar
     
    C:\users\Dell\Desktop\bukket\PAUSE
    Press any key to continue . . .

    that is what it says... this is first time using code... Plz tell me if If I did anything wrong....
     
  4. Offline

    Mayor_Mike

    Well if your .bat file isn't in your Server's folder, than it should be and put this into the .bat file
    Code:
    Title Server
    Java -Xms1G -Xmx1G -jar "craftbukkit.jar" nogui
    pause
    Now, make sure your Server's .jar file is named craftbukkit.jar.
    If you want to make a shortcut to the .bat file, go ahead. Just make sure the actual .bat is in the same folder as craftbukkit.jar
     
  5. Offline

    digkingvg

    Sorry It took so long to reply school and stuff...

    It works!!! but at first it says Craftbukket is not reconised as internal or external comannd then the bat runs
     
    Mayor_Mike likes this.
  6. Offline

    Mayor_Mike

    Odd it shouldn't. But oh well. It works. That's really all that matters :D
    Don't worry about the reply time. I have school too. :p
     
Thread Status:
Not open for further replies.

Share This Page