Skip to content

Commit

Permalink
feat: Allow use Java21 to run Celestial
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Oct 26, 2024
1 parent d4146b9 commit f867dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/cubewhy/celestial/Celestial.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f867dd8

Please sign in to comment.