-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
None
-
CraftBukkit Master Branch
-
Yes
Trying to run PaperMC 1.20.1 server on Termux.
Can not start due to openjdk-17 not being recognized as general Java version.
Issue cause by:
Commit #1191: Do not start on pre-release Java 17
Lars Baum authored and md_5 committed 863dacb7a00
Commited on 03 Jun 2023
Commit hash:
863dacb7a00f2d5d641a93951885620cbb7eb36d
src/main/java/org/bukkit/craftbukkit/Main.java
String javaVersionName = System.getProperty("java.version");// J2SE SDK/JRE Version String Naming Conventionboolean isPreRelease = javaVersionName.contains("-");if (isPreRelease && javaVersion == 61.0)
openjdk 17-internal 2021-09-14 is a fully featured, fully functioning version of openjdk 17.
Even though the openjdk version is named as "17-internal", with the character "-" in the version name does not mean that it is a pre-release version of Java and that CraftBukkit can not run with that OpenJDK verion.
Please fix this so that openjdk 17-internal works with CraftBukkit without issue.
{{}}
Additional information:
https://github.com/termux/termux-packages/issues/16978