Uploaded image for project: 'Mojang Web Services'
  1. Mojang Web Services
  2. WEB-1399

Wrong command for Java-Edition Server Startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None

      On the Minecraft Java-Edition Server download page (https://www.minecraft.net/en-us/download/server) You are given a link to run in Microsoft Powershell or Command Prompt.

      java -Xmx1024M -Xms1024M -jar minecraft_server.1.14.4.jar nogui

      But it doesn't work as the download file isn't called minecraft_server.1.14.4.jar, even though it says it is on the download page. If you download it, it is called server.jar, so you would have to replace the run command above to:

      java -Xmx1024M -Xms1024M -jar server.jar nogui
      

      As Command Prompt or Microsoft Powershell doesn't recognize the file minecraft_server.1.14.4.jar because it doesn't exist.

       

      Fix:

      Change the command on the page (check images below) so players trying to run a server don't have to manually change it. 

      Replace the old command to this command:

      java -Xmx1024M -Xms1024M -jar server.jar nogui

        1. Screenshot_9.png
          Screenshot_9.png
          3 kB
        2. Screenshot_8.png
          Screenshot_8.png
          3 kB
        3. Screenshot_6.png
          Screenshot_6.png
          7 kB
        4. Screenshot_5.png
          Screenshot_5.png
          6 kB
        5. Screenshot_4.png
          Screenshot_4.png
          4 kB
        6. Screenshot_3.png
          Screenshot_3.png
          62 kB

            Unassigned Unassigned
            Stannya Stannya
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: