diff --git a/src/main/kotlin/org/cubewhy/celestial/Celestial.kt b/src/main/kotlin/org/cubewhy/celestial/Celestial.kt index 16190a5e..5d3adc02 100644 --- a/src/main/kotlin/org/cubewhy/celestial/Celestial.kt +++ b/src/main/kotlin/org/cubewhy/celestial/Celestial.kt @@ -267,7 +267,7 @@ private fun checkJava() { ) + "(" + System.getProperty("java.vendor") + ") Arch: " + System.getProperty("os.arch") ) - if (javaVersion != "17") { + if (javaVersion != "17" && javaVersion != "21") { log.warn("Compatibility warning: The Java you are currently using may not be able to start LunarClient properly (Java 17 is recommended)") JOptionPane.showMessageDialog( null,