Notes
Notes - notes.io |
Clara and I run Minecraft on our home FreeBSD server inside jail, which keeps Java and other dependencies contained in one isolated place. Theoretically , you can run the server from any device that supports Java as well as Linux and perhaps NetBSD although I haven't tested the latter.
I could not let it go! The good news is that you are able to run an Minecraft server on your other favorite OS. This post explores how I went about it but I'm certain there are other methods.
Getting Java installed
After you have installed NetBSD and configured networking and enabled pkgin , you will require an OpenJDK installation to play Minecraft.
Minecraft 1.17 from now requires OpenJDK 17, but OpenJDK 16 is the most recent version in the most recent snapshot as of July 2022. You can search to determine whether this is the situation:
If it's 16 you may still pull current packages by opening the repo file.
Minecraft
Change the repo URI, in my instance, from 9.0 to 9.0_current:
Thank you very much to Ryoon@ for their work on this. He does so much for NetBSD, I feel like he owes me at least an espresso or a beer every time I visit Japan.
We can now install, along with other useful tools.
Running Minecraft
You can use this location to run Minecraft like any Java-enabled server. I put all my files in one place:
Then log in as my local user and start:
We're ready to start!
You'll notice that Java will throw an exception that says "system not supported that we who run NetBSD are all too familiar with. It is safe to ignore from my experience.
Don't forget to sign the EULA after you have run the server the first time:
Creating the launch script
I like to symlink to minecraft.jar the most current version of the server
Then reference it in launch.sh using tmux to keep the server 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 like what I do with FreeBSD jails. I've had a solid NetBSD exploration of chroots in the works for a long time I'll clean it up and publish it shortly.
Homepage: https://securecontent.co/
|
Notes.io is a web-based application for 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 12 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