Download the Minecraft: Java Edition server
Want to set up a multiplayer server?
Please note: This server setup is only compatible with Minecraft: Java Edition.
If you want to run a Minecraft multiplayer server by yourself things get kind of involved (see this wiki article for a tutorial). First make sure you can use java from the command line. On Linux and macOS this should already be set up but on Windows you might have to tinker with the PATH environment variable.
Download minecraft_server.1.14.4.jar and run it with the following command:
java -Xmx1024M -Xms1024M -jar