How To Install A Minecraft Java Server
When making an Minecraft server, there are a lot of possibilities. This guides currently covers how to set up a Survival Multiplayer Server without mods. We will be adding more guides to assist you in setting up a server that has mods in the near future.
Create a Vanilla Survival Multiplayer Server (MSP)
Follow these steps and you should have a public Minecraft Java server up in the shortest amount of time.
1. Java can be downloaded and installed
Oracle provides the most current Java version to download.
2. Download the offical Minecraft Server
Download this from minecraft.net
3. Create a folder for your Minecraft server
The folder can be named and placed anywhere you'd like. It should be easy to locate and easy to find. I love calling the server folder minecraft and put it in my User/Home folder.
4. Install your Minecraft server folder
Transfer your downloaded server.jar file into minecraft folder.
On Windows: create a new file named run.bat. Making a batch (.bat) file on Windows
On MacOS or Linux: create a new file with the name run.sh.
Edit your new file and change the text to
5. Generate your server and accept the EULA
Let's get started with the server now that we have your run file.
Windows: Double-click your run.bat folder
MacOS / Linux Open the terminal to your minecraft folder and enter bash./run.sh. Minecraft economy servers
The command line should show some logs, and your Minecraft server folder will be filled with new files and folders. Open the file eual.txt and replace eula=false with eula=true.
6. Connect and run your server
Now with the eula accepted running your server again using the same procedure as in 5.. Open Minecraft and connect direct using 127.0.0.1:25565. If you're unable connect, make sure that your server is running. If everything looks good and you're unsure what's wrong, ask for help on our discord.
7. Make your server public
You are now able to connect to your server locally. Now let's make it public so friends can join. Check out the interactive guide.