[SPIGOT-7470] openjdk-17 is not recognized as general Java version Created: 31/Aug/23 Updated: 25/Dec/24 Resolved: 09/Sep/23 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Ariel Rico | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 0 |
Labels: | 1.20.1, Craftbukkit, error | ||
Environment: |
Termux version 0.118.0 OS: Andriod 13 aarch64 Host: samsung SM-G986U Kernel: 4.19.113-26203352 Shell: bash 5.2.15 Java Version: openjdk 17-internal 2021-09-14 OpenJDK Runtime Environment (build 17-internal+0-adhoc..src) OpenJDK 64-Bit Server VM (build 17-internal+0-adhoc..src, mixed mode)
|
Attachments: |
![]() |
Version: | CraftBukkit Master Branch |
Guidelines Read: | Yes |
Description |
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
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
|
Comments |
Comment by Black Hole [ 31/Aug/23 ] |
As a workaround use proto-distro on Termux to run a full Linux distro with updated Java versions. |
Comment by md_5 [ 31/Aug/23 ] |
This is a violation of https://www.oracle.com/java/technologies/javase/versioning-naming.html which explicitly states: "A dash "-" separator is used to indicate a non-GA (non-FCS) release. A GA (FCS) product version or build identifier must not contain a dash |