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_3.png
          62 kB
          Stannya
        2. Screenshot_4.png
          4 kB
          Stannya
        3. Screenshot_5.png
          6 kB
          Stannya
        4. Screenshot_6.png
          7 kB
          Stannya
        5. Screenshot_8.png
          3 kB
          Stannya
        6. Screenshot_9.png
          3 kB
          Stannya

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

              Created:
              Updated:
              Resolved: