start.bat problem

Discussion in 'General Help' started by tence3000, Jun 26, 2017.

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

    tence3000

    Hey
    I'm trying to run a server on windows 10 with the start.bat command.
    Everytime I click on it it says 'Press any key to continue...'
    Once I press a key it shuts down.
    My friend tried this on Windows 8 and it worked, is there a way for it to work on windows 10?
     
  2. Offline

    yPedx

  3. Offline

    tence3000

    So would the code for start.bat be:

    1.
    @Echo off"C:program FilesJavajre7binjava.exe" -Xms1G -Xmx2G -jar minecraftforge-universal-1.6.4-9.11.1.965-v164-pregradle.jar
    PAUSE
    eula=true

    or

    2.
    @Echo off
    java -Xms1024M -Xmx1024M -jar craftbukkit.jar
    pause
    eula=true
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    tence3000

    If the eula is in a different file then I must be making the server in a wrong way.
    Could someone direct me to a proper tutorial or instructions to making a 1.8 server?
     
  6. Offline

    timtower Administrator Administrator Moderator

    @tence3000 1. Please don't use the colors.
    2. The second start.bat is correct, just remove the last line.
    3. Start a cmd window, navigate to the server directory, run start.bat using the cmd window.
     
  7. Offline

    tence3000

    First of all sorry for using colours.
    Second of all I have done the second thing you told me to do, how can I navigate to the server directory?
     
  8. Offline

    timtower Administrator Administrator Moderator

  9. Offline

    tence3000

    It now says the syntax of the command is incorrect when I type that command into command prompt.
    I don't know how to use the cd command could you explain?

    EDIT: Problem fixed, thanks for all your help!
     
    Last edited: Jun 27, 2017
Thread Status:
Not open for further replies.

Share This Page