NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

ListType cannot be Converted to Java.lang.Comparable

Make use of Git to checkout SVN through the web URL



Get your work done quickly with our official CLI. Find out more.



- Open with GitHub Desktop – Download ZIP



Launching GitHub Desktop



If nothing occurs try downloading GitHub Desktop and try again.



Launching Xcode



Try again if nothing happens.



Visual Studio Code Launched



When your codespace is completed it will be opened.



There was a problem in preparing your codespace. Please try again.



The most recent commit



Stats about git



- 2 commits



Files



README.md



Native Minecraft Servers with GraalVM Native Image



The Minecraft server is known to use lots of memory and CPU and can be difficult to deploy. This project makes it possible to compile the Minecraft server into an independent executable that is self-contained with the help of GraalVM Native Image. This means it should use fewer CPU and memory resources, have faster time to start, and also be less expensive and easier to deploy.



A native Minecraft server is less than 120MB in size and is significantly smaller than Minecraft's server.jar along with a JDK required to run it. With upx compression it is possible to reduce the size of the native executable may be reduced to less than 40MB, which is smaller than just the server.jar. Initial tests also showed a competitive run-time and a smaller footprint for memory. Build with GraalVM Enterprise native image for best results. This will give you better performance and lower usage of memory than the Community Edition. Also, try the G1 GC or Profile-Guided Optimizations. The Oracle Cloud Free Tier not only comes with four Ampere A1 cores and 24GB of RAM always free that is enough for hosting a Minecraft server and also provides access to GraalVM Enterprise.



For more details, read this blog post.
Yurock


Disclaimer This project is intended to be a demonstration only and intended to assist 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: Ensure that upx is installed on your $PATH to enable compression 2. Go to the repository and download it. Then run build.sh. 3. Launch the native Minecraft server with ./native-minecraft-server. The first time you run the server, you will have to follow the regular procedure of accepting Minecraft's EULA.



How It Works



This project only contains the build.sh script and reachability metadata for building a native Minecraft server. The build.sh script first downloads Minecraft's server.jar and then extracts jars and other resources from it. Then, it calls GraalVM Native Image with the correct configuration to create an native version of the Minecraft server. Finally, and only if upx is in the $PATH, the script will compress the native executable.



Limitations and issues that are known



The configuration currently supports Minecraft 1.18.2. The server GUI is not yet supported. Mods aren't currently supported. There isn't a build script for Windows yet, however the WSL should work. The native executable often fails on startup. It is generally possible to restart it multiple times. Error: com.mojang.datafixers.types.templates.List$ListType cannot be cast to java.lang.Comparable.


Homepage: https://yurock.net/
     
 
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.