Setting up a new Server HELP!!!! please

Discussion in 'Bukkit Help' started by davisjack, Apr 26, 2011.

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

    davisjack

    im having major difficulty using bukkit its my first time and im totally lost. I tried doing the notepad thing and i copied and pasted @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui

    i saved it as Start.bat and when i clicked it a black screen appeared and dissappeared many people have tried to help me but i guess they had no idea what they were talking about so can anyone please help me set up my server with bukkit (i can also use himachi if that helps)
     
  2. Offline

    TnT Retired Staff

    Change the file to this:
    Code:
    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    pause
    
    What does the error say?
     
  3. Offline

    Andre_9796

    Add a new line with: Pause

    Ninja'd :p

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

    davisjack

    that helped but then i get a message saying unable to access jarfile craftbukkit -0.0.1-SNAPSHOT.jar
     
  5. Offline

    TnT Retired Staff

    Give us a directory listing of your folder.
     
  6. Offline

    davisjack

    what is that? my folder was empty i put in the Start.bat thing in it with the new code TnT gave me but thats it

    yeh?

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

    TnT Retired Staff

    I suspect you have file extensions hidden and your file has a is actually named "craftbukkit -0.0.1-SNAPSHOT.jar.jar"
    A directory listing would be like doing a dir command against your directory, or at least take a screenshot of your directory for us.
     
  8. Offline

    davisjack

    ok question whats my directory like ill do the snapshot thing but how do i get to my directory
     
  9. Offline

    Kainzo

    Exactly. I hope it works Dav-is-jack.
     
  10. Offline

    Plague

    Just play singleplayer man. For the sake of all people here.
     
  11. Offline

    TnT Retired Staff

  12. Offline

    davisjack

    LMFAO thanks TnT yeh i have that in my folder as well as the Start.bat thing as well

    and for Plague and Kainzo i dnt think thats how two mod/or admins of a business/website should act. Im not to computer savvy and just started playing minecraft.......thanks alot TnT for your help!

    by directory do you mean go to my RUN/search bar and type %appdata%

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

    tips48

    here, i'll try to help.
    what is your operating system?
    what is your java version. to find this out, open a command prompt and type
    java -version
    try running the start.bat as administrator.

    did you fix the problem?

    no he dosen't. he means the directory where the start.bat is located

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

    davisjack

    windows 7 op system
    i have java 6 update 24
    and run as admin didnt work
     
  15. Offline

    tips48

    can you post exactly your start.bat....
    and then, can you take a screenshot of the folder your start.bat is in? that will speak wonders.
     
  16. Offline

    davisjack

    OMG i tried uploading the snapshot but it says error files does not have allowed extension

    View attachment 2859

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

    tips48

    Ok. You have a shortcut. you can't use a shortcut. heres what you do....
    go to bukkit.org.
    click on recommended build on the right side of the page (choose the one that says 733)
    click on craftbukkkit-0-01(snapshot) or something like that.
    once it's downloaded, go to the directory where start.bat is located.
    paste craftbukkit there.
    rename it to craftbukkit -0.0.1-SNAPSHOT.jar
    (removing the numbers)
    run the server.
    enjoy craftbukkit
     
  18. Offline

    davisjack

    thats my start bat folder

    and this is my actual start bat
    @echo off "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui pause
     
  19. Offline

    tips48

    ok how much ram do you have btw? and do you have 64x. if so i can give you a hint to make minecraft runn alot smoother. anyway do the steps above
     
  20. Offline

    davisjack

    RAM or installed memory- i gots 3 GB
    and i have a 64 bit operating system
     
  21. Offline

    tips48

    ok. did those steps above work?
    so, a hint is for the start.bat, change it to this
    Code:
    @echo off
     "%ProgramFiles(x86)%\Java\jre6\bin\java.exe"
    -Xms2G -Xmx2G -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    pause
    if you have 64x java, thats even better.
     
  22. Offline

    Plague

    I'd suggest "java -Xmx2G -Xincgc -jar craftbukkit.jar"

    And as for my previous post, I WAS helping you. You know since without proper computer knowledge you will suffer as a server admin...
     
  23. Offline

    davisjack

    Yeah thanks for help
     
  24. Offline

    tips48

    did my steps work?!
     
  25. Offline

    davisjack

    didnt try yet :D heating my soup up will try now
     
  26. Offline

    tips48

    ahh. always dinner first. lol jk :D

    hope it works!
     
  27. Offline

    davisjack

    ok something diff happened
    at the bottom it says xms2G is not recognized as a command
     
  28. Offline

    tips48

    ok, well thats much better, its just my fail typing skills now :D
    one sec ill look it up

    ok, instead do this
    Code:
    @echo off
    java -Xincgc -Xmx2G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    pause
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  29. Offline

    davisjack

    ok now it says java is not an internal or external command or batch file ....whats worng with my computer
     
  30. Offline

    tips48

    nothings wrong with your computer, i can assure you that.
    replace the word java with
    "%ProgramFiles%\Java\jre6\bin\java.exe"
    if you have 64x java that is. if not tell me and i'll change
     
Thread Status:
Not open for further replies.

Share This Page