Download the server jar file from the official Minecraft launcher

The official Minecraft launcher stores every server jar version released since the game's launch. To find and download an older version, open the Minecraft launcher, click the "Installations" tab at the top, then click "New Installation" in the upper left. A dropdown menu labeled "Version" will appear — click it to see the full list of available server versions, sorted from newest to oldest.

Select the version you want to run. The launcher will show you the release date and whether it's a release, snapshot, or pre-release build. Once you've chosen, give the installation a name (something like "Server 1.19.2") and click "Create." The launcher will download the server jar file to a folder on your computer, usually in C:\Users\[Your Username]\AppData\Roaming\.minecraft\versions on Windows or ~/Library/Application Support/minecraft/versions on Mac.

Key Takeaways

  • The official Minecraft launcher lets you download any past server jar version through the Installations tab without visiting third-party sites.
  • You need Java installed on your computer before the server jar will run — most systems have it, but you can download it free from Oracle or use OpenJDK.
  • Running the jar file requires a command in your terminal or command prompt that points to the file location and allocates RAM to the server.
  • Older server versions may not work with newer player clients, so players connecting to your server should use the same game version you're running.

Locate the downloaded jar file and move it to your server folder

After the launcher finishes downloading, navigate to the folder where it stored the jar file. On Windows, open File Explorer and paste the path %appdata%\.minecraft\versions into the address bar, then press Enter. On Mac, open Finder, press Command+Shift+G, and paste ~/Library/Application Support/minecraft/versions.

Inside the versions folder, you'll see a subfolder with the name you gave the installation. Open it and look for a file with a name like server-1.19.2.jar or minecraft_server.1.19.2.jar. Copy this jar file to wherever you want to run your server — this is usually a dedicated folder on your computer or an external drive. Create a new folder called something like "MyServer" and paste the jar file there.

Install Java if you don't have it already

Minecraft server jar files run on Java, so your computer needs Java installed before the server will start. To check if you have it, open your terminal (Mac) or command prompt (Windows), type java -version, and press Enter. If Java is installed, you'll see a version number. If you see "command not found" or "is not recognized," you need to install it.

Download Java from Oracle's website or use OpenJDK, which is free and open-source. Most people use OpenJDK 17 or later for modern server versions. Follow the installer's instructions and restart your computer when it finishes. After restarting, open your terminal or command prompt again and type java -version to confirm the installation worked.

Run the server jar with a command that allocates memory

Open your terminal (Mac) or command prompt (Windows) and navigate to the folder where you placed the jar file. On Windows, type cd C:\path\to\MyServer (replace the path with your actual folder location). On Mac, type cd /path/to/MyServer. Press Enter to move into that folder.

Now type the command to start the server. The basic format is java -Xmx1024M -Xms1024M -jar server-1.19.2.jar nogui (replace the jar filename and version number with your actual file). The -Xmx1024M part tells Java to use up to 1024 megabytes of RAM; you can increase this number if your computer has more memory available. The nogui at the end runs the server without a graphical window. Press Enter and the server will start.

Accept the EULA on first run

The first time you run the server, it will create a file called eula.txt in your server folder and then shut down. Open this file with a text editor (Notepad on Windows, TextEdit on Mac), find the line that says eula=false, and change it to eula=true. Save the file and close it.

Go back to your terminal or command prompt and run the same command again. This time the server will start fully and begin generating the world. You'll see messages like "Done! For help, type 'help'" when it's ready. Players can now connect to your server using your computer's local IP address (type ipconfig on Windows or ifconfig on Mac to find it) or your public IP if you're opening ports on your router.

Troubleshoot common problems with older server versions

If the server won't start, the most common cause is a Java version mismatch. Older server versions (before 1.17) need Java 8 or 11, while newer versions need Java 16 or later. Check which Java version you installed and download the correct one if needed. You can also have multiple Java versions installed and specify which one to use in your startup command by typing the full path to the Java executable instead of just java.

If players can't connect, make sure they're using the same game version as your server. Older clients cannot connect to newer servers, and newer clients cannot connect to older servers. If you're running the server on your home network, players need to use your local IP address (usually starts with 192.168 or 10.0). If you want players outside your home to connect, you'll need to forward the port (default 25565) on your router and give them your public IP address instead.

Frequently Asked Questions

Can I run multiple server versions at the same time?

Yes, but each needs its own folder, its own jar file, and a different port number. When you start the second server, add -Dcom.mojang.eula.agree=true to the command and change the port by adding server-port=25566 to the server.properties file. Players connect to different versions by using different port numbers (like 25565 and 25566).

What's the difference between a server jar and a client jar?

A server jar runs the world and handles player connections; a client jar is what you download through the regular Minecraft launcher to play the game. You cannot use a client jar to run a server. Always download from the Installations tab in the launcher or from the official Minecraft website.

Do I need to port-forward to run a server on my home network?

No. Players on the same local network can connect using your computer's local IP address without port-forwarding. You only need to forward ports if you want players outside your home network to join. Check your router's manual for instructions on how to forward port 25565.

Why does my old server version crash when players join?

Older versions often need less RAM allocated than newer ones, but sometimes the opposite is true depending on the version. Try increasing the -Xmx value in your startup command (for example, change 1024M to 2048M). You can also check the server logs for error messages that explain what went wrong.

Can I update a server world to a newer version?

Minecraft can convert worlds forward to newer versions, but not backward. If you want to keep your world and upgrade the server, back up your world folder first, then run the newer server version with the same world files. The server will convert the world automatically, though this can take time for large worlds.