<h1>
ListType is not Able to be Cast to Java.lang.Comparable</h1>
<html><body><p><p><br/> Make use of Git to checkout SVN through the web URL<br/></p><br/><p><br/> Work fast with our official CLI. Find out more.<br/></p><br/><p><br/> - Open with GitHub Desktop – Download ZIP<br/></p><br/><p><br/> Launching GitHub Desktop<br/></p><br/><p><br/> Try again if nothing happens.<br/></p><br/><p><br/> Launching Xcode<br/></p><br/><p><br/> Try again if nothing happens.<br/> <a href="https://minecraft-servers.one/">Minecraft Servers</a> </p><br/><p><br/> Visual Studio Code Launched<br/></p><br/><p><br/> Your codespace will open once ready.<br/></p><br/><p><br/> Try again.<br/></p><br/><p><br/> The most recent commit<br/></p><br/><p><br/> Git statistics<br/></p><br/><p><br/> - 2 commits<br/></p><br/><p><br/> Files<br/></p><br/><p><br/> README.md<br/></p><br/><p><br/> Native Minecraft Servers with GraalVM Native Image<br/></p><br/><p><br/> The Minecraft server is known to consume lots of CPU and memory resources and can be hard to install. This project allows you to compile the Minecraft server into an independent executable that is self-contained with the help of GraalVM Native Image. It is expected to utilize less CPU and memory resources, be quicker to start, and be easier to deploy.<br/></p><br/><p><br/> A native Minecraft server is smaller than 120MB, and with that significantly smaller than Minecraft's server.jar along with a JDK required to run it. The native executable can be compressed further to shrink its size to less than 40MB. This is smaller than the server.jar. Initial tests also showed a competitive run-time and a smaller footprint for memory. For the best results, use GraalVM Enterprise Native Image which has better performance and lower memory usage than the Community Edition, and try out the G1 GC and Profile-Guided Optimizations. The Oracle Cloud Free Tier not only provides four Ampere A1 cores and 24GB of RAM, which is plenty to host the Minecraft server, but also free access to GraalVM Enterprise.<br/></p><br/><p><br/> For more details, read this blog post.<br/></p><br/><p><br/> Disclaimer: This project is meant to be a demonstration only and intended to help the Minecraft community evaluate the use of GraalVM Native Image. Use at your own risk<br/></p><br/><p><br/> 1. Download GraalVM Community or Enterprise (GraalVM 22.2.0 or later is required). Optional: ensure that upx is on your $PATH to enable compression. 2. Download or check out this repository, and 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.<br/></p><br/><p><br/> How does it work<br/></p><br/><p><br/> This project only contains the build.sh script and the reachability metadata for building an native Minecraft server. The build.sh script downloads Minecraft's server.jar and then extracts jars and other resources from it. After that, it launches GraalVM Native Image using an appropriate configuration to generate an original version of the Minecraft server. If upx is present on the $PATH, the script will compress the native executable.<br/></p><br/><p><br/> Limitations and Issues<br/></p><br/><p><br/> The configuration currently allows Minecraft 1.18.2. The server GUI is not yet supported. Mods aren't currently supported. There isn't a built script for Windows yet, however the WSL should be able to work. - The native executable sometimes 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.<br/></p></p></body></html>
</h1>