NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

We're now Ready to Go!

Clara and I run Minecraft on our home FreeBSD server in a jail, which keeps Java and other dependencies in one isolated place. Theoretically , you can run the server from any device that supports Java and Java-related software, including Linux and perhaps NetBSD, though I haven't tested the latter.



Well, I decided that I couldn't leave it at that! The positive side is that you can run an Minecraft server on your other preferred OS. This post explains the method I used, though I'm sure there are other ways.



Getting Java installed



After you have installed NetBSD and set up networks and enabled pkgin. You will require an OpenJDK to run Minecraft.



Minecraft 1.17 onwards requires OpenJDK 17 however, OpenJDK 16 is the latest version of the most current snapshot as of July 2022. You can check by searching to see if this is still the case:



If you're 16 years old, you can still pull current packages by opening the repo file.



And changing the repo URL, in my case from 9.0 to 9.0_current:



Thank you so much to Ryoon@ for his work on this. He does a tremendous amount of work for the NetBSD community, and I feel I owe him some coffee or a beer next time I'm able to visit Japan.



Now we can installit, along with a few other useful tools:



Running Minecraft



You can use this directory to run Minecraft just like any Java-enabled server. I have all my files in one location:



Then log in as my local user and begin:



Now we can start!



Java throws an exception about a system not supported, something that NetBSD users know well. From my testing I've found that you can ignore it:



After you've run the server for the first time, be sure to remember to accept the EULA.



Create a launch script



I like to link to minecraft.jar the most current version of the server



You can reference it in launch.sh using tmux for the server to stay in place after disconnecting. I also prefer to give Minecraft more memory:



We're now ready to go!



Follow-up



My next step would be creating an appropriate chroot environment to work with Java and Minecraft, similar to what I have done with FreeBSD jails. I have an NetBSD Chroot Exploration article in the process for a number of years. I'll clean it up and post it soon.

Premium content
Website: https://premiumcontent.io/
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.