NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

ListType cannot be Cast to Java.lang.Comparable

Make use of Git to checkout SVN via the web URL



Work fast with our official CLI. Find out more.



- Open with GitHub Desktop - Download ZIP



Launching GitHub Desktop



Try again if nothing happens.



Launching Xcode



Try again and see if anything happens.



The launch of Visual Studio Code



Your codespace will open once you are ready.



Please try again.



The most recent commit



Git statistics



2 commits



Files



README.md



Native Minecraft Servers with GraalVM Native Image



The Minecraft server is known to consume a lot of memory and CPU and is difficult to deploy. This project allows you to build the Minecraft server into an executable that is self-contained and independent with the help of GraalVM Native Image. As such, it should require less CPU and memory resources, have faster startup times, and be less expensive and easier to deploy.



A native Minecraft server is smaller than 120MB and, with that, significantly smaller than Minecraft's server.jar and a JDK required to run it. The native executable can be further compressed in order to reduce its size to less than 40MB. This is less than the server.jar. Initial tests also suggest competitive run-time performance with less memory footprint. Create using GraalVM Enterprise native image for best results. This provides higher performance and lower consumption of memory than the Community Edition. Also, test the G1 GC or Profile-Guided Optimizations. The Oracle Cloud Free Tier not only provides four Ampere A1 cores and 24 GB of RAM that is enough for hosting the Minecraft server and also provides access to GraalVM Enterprise.



For more details, read this blog post.



Disclaimer This project is designed to be used for demonstration purposes only. protonamail It is intended to help the Minecraft community evaluate the use of GraalVM Native Image. Use at your own risk.



1. Download GraalVM Community or Enterprise (GraalVM 22.2.0 or later is required). Optional: make sure upx is on your $PATH to enable compression. 2. Visit the repository and download it. Then, run build.sh. 3. Launch the native Minecraft server with ./native-minecraft-server. When you first run the server, you will be required to follow the normal procedure of accepting Minecraft's EULA.



How does it work



This project only contains the build.sh script and reachability metadata for building an native Minecraft server. The build.sh script first downloads Minecraft's server.jar and extracts jars and other resources from it. After that, it launches GraalVM Native Image using the right configuration to create an original version of the Minecraft server. In addition, and only if upx is on the $PATH the script will compress the native executable.



Limitations and Known Issues



The configuration currently allows Minecraft 1.18.2. The server GUI is not yet supported. - Mods are currently not supported. While there isn't yet a build script for Windows however, the WSL should be able to work. - The native executable sometimes fails upon starting. Restarting it a few times is usually enough to fix. Error: com.mojang.datafixers.types.templates.List$ListType cannot be cast to java.lang.Comparable.


Read More: https://protonamail.lol/
     
 
what is notes.io
 

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

     
 
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.