The Mindustry source code makes heavy use of internal Java APIs that were deprecated in Java 6 and removed in Java 16. It also makes use of features that require Java >=14. The author is not ready to provide compatibility with any maintained Java version at this time.