My son is in elementary school and all I ever hear about is Minecraft this … and Minecraft that. I have never played Minecraft before, so I wanted to see what all the fuss is about. I have my own home computer lab so I loaded up Ubuntu 18.04 desktop version on a new virtual machine and I was off to the races.
The first thing we will need to do is make sure java is installed on your local system with this command:
It will give you the opportunity to install a version of java if it is not already installed. I installed the one with the command below:
sudo apt install openjre-8-jre-headless (at the time of this writing this one worked for me)
The next thing we will need to do is download minecraft server from this link and run it with this command:
java -Xmx1024M -Xms1024M -jar (name_of_minecraft_file).jar nogui
The next thing you will want to do is make sure to open the eula.txt file and set eula=false to eula=true.
You are now free to log in to the Minecraft server from your Minecraft Launcher,
select Multiplayer, select Direct Connect or Add Server and type in the IP address of your Minecraft server and hit Connect.
At this point it should log in and you will be playing Minecraft on your own server.
This was quite fun little project and really didn’t take much time at all. I can’t wait to start playing with my son!