How To Install A Minecraft Java Server
When making the Minecraft server there's lots of possibilities. This guide will help you create an Survival Multiplayer Server with no mods. We'll be releasing additional guides in the near future on how to create an account with mods.
Create a Vanilla Survival Multiplayer Server (MSP)
Follow these steps and you should have an online Minecraft Java server up in no time.
1. Java can be downloaded and installed
You can download the most recent version of Java from Oracle.
2. Download the Minecraft Server from the official Minecraft Server
Download this from minecraft.net
3. Create a folder to store your Minecraft server
This folder can be named and placed wherever you'd like. I suggest creating something simple and easy to locate. I prefer calling the folder minecraft-server, and then putting it in my home/User folder.
4. Install your minecraft server folder
Transfer the server.jar file you downloaded into your minecraft folder
On Windows: create a new file named run.bat. Making the batch (.bat) file on Windows
Create a new file named run.sh on MacOS / Linux
Edit your new file and set the text to be
5. Create your server and agree to the EULA
With your run file now created Let's start the server.
Windows Double-click on your run.bat folder
MacOS / Linux: Go to the terminal in your minecraft folder, and type bash./run.sh.
The command line should display some logs and your minecraft server folder should be populated with new files and folders. Find and open the eual.txt file. Replace the eula=false value with the value eula=true. Minecraft Servers List
6. Connect and run your server
Once you've got the eula acceptance restart your server using the same procedure as in 5.. Start Minecraft and try direct connecting using 127.0.0.1:25565. If you're not able to connect, ensure that your server is running. If everything looks good and you're not sure the reason you aren't connecting you can ask for assistance on our discord.
7. Make your server public
You are now able to connect to your server locally, let's make it public so that friends can join. Visit the interactive guide.