How To Install A Minecraft Java Server
When creating a Minecraft server, there are plenty of options. This guides currently covers setting up an Survival Multiplayer Server without mods. We'll be releasing more guides in the near future on how to set up the server with mods.
Create a Vanilla Survival Multiplayer Server (MSP)
Follow these steps and you should have a public Minecraft Java server running in no time.
1. Download and install Java
Oracle offers the most recent Java version for download. Minecraft news
2. Download the Minecraft Server official Minecraft Server
This is minecraft.net's download page.
3. Create a folder for your Minecraft server
You can name the folder and place it wherever you'd like. I suggest creating something easy and simple to locate. I love to call the server folder minecraft and put it in my User/Home folder.
4. Install your minecraft server folder
Transfer the downloaded server.jar file into minecraft folder.
On Windows Create the file run.bat. Creating an automated (.bat) file in windows
On MacOS / Linux Create a new file with the name run.sh.
Edit the file you just created and make the text appear to be
5. Create your server and accept the EULA
Let's begin with the server now that we have your run file.
Windows Double-click on your run.bat folder
On MacOS or Linux you can open the terminal to your minecraft server folder and run bash ./run.sh.
The command line should show logs. The folder for your Minecraft server will now be filled with new files. Find and open the eual.txt file and replace the eula=false line with the value eula=true.
6. Connect to your server by using the following command
Once you have been approved by the eula, you can restart your server. Next, open Minecraft and connect using 127.0.0.1.25565. Make sure your server is running in case you are unable to connect. If everything looks good and you're unsure why you cannot connect, ask for help on our discord.
7. Make your server public
Now you can connect to your server from anywhere. Let's make it accessible for friends so they can join. Go to the interactive guide.