There are a few different apps that can run Minecraft servers, but we’re going to keep things official and use the one that Minecraft offers for free on its website. Step 2: Download Minecraft’s server software The headless package is used when you don’t have to worry about graphics, which we don’t - all the graphics stuff will be happening on devices that you and your friends play on. ![]() We’ve chosen to install the “headless” version of the JRE because it’s a little more lightweight. Once you’re ready to go, type this command into Terminal to install the Java runtime environment (JRE): sudo apt install openjdk-8-jre-headless It’s good practice to run a quick check for updates with the command sudo apt-get update and sudo apt-get upgrade before we get started. Once you’re logged into the right user in Raspbian on your Raspberry Pi, open the Terminal. There are security risks that come with running a server with Java, which is one reason why a Raspberry Pi Minecraft server is a good idea in the first place - with a Raspberry Pi Minecraft server, you’re not running a Minecraft server on the same laptop or desktop that you use to do your schoolwork or your taxes.Īs a further security measure, it’s a good idea to make a separate user account on Raspbian for your server if you plan to use your Raspberry Pi for anything besides this server. Running in an RTE, Java can order around your processor and use the RAM it needs with no questions asked. A RTE gives an application access to things like software libraries and system variables. But we can give Java the ability to take a very hands-on approach if we install a runtime environment (RTE) for it. Accessing and ordering around important stuff like RAM is typically something done indirectly, if at all, by software programs written in high-level languages. When we talk about the “environment” in this sense, we’re talking about what a piece of software can access and execute. To run a Raspberry Pi Minecraft server, you’ll need to have a Java runtime environment set up. Gather up all of that, and we’ll get started! Step 1: Install the Java Runtime Environment
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |