-
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Java: Allow to install specific/multiple Java versions #4505
Comments
Many thanks for the info. This is a heavy cut, especially since Minecraft v1.16 supports only Java up to v14 and the next version now requires a min version two major version number higher than the last max version... Not exactly nice for developers of implementations who have to deal with all the user reports about broken compatibility, but they may have their reasons. In case of MineOS, we can add a hint to our docs that v1.17 does not work unless Java 16 is (for now manually) installed. In case of PaperMC, probably their installer is or will be smart enough to fallback to the latest MC v1.16 when it was not executed with Java 16+. But for Nukkit and Cuberite, as fast as they upgrade their builds, there is currently not really a way to detect it. We simply install the native Java version shipped by the Debian APT repository, which is Java 8 on Stretch, Java 11 on Buster and it will be Java 17 on Bullseye (currently still Java 11, but Java 17 available, just needs testing). To enable Minecraft v1.17 on Buster (and Stretch), we could download the zulu JRE builds: http://static.azul.com/zulu/bin/ It requires some testing. In case of MineOS, it's good that they implement an option, as the web UI itself runs with Node.js, so we don't have control over which Java executable is used, and I bet |
Just an update on this. I'd highly prefer to use the non-commercial Adoptium Temurin as replacement for the Debian Java packages, if we generally want to implement multiple Java versions into Since we do now ship Bullseye images (providing JRE 17 packages from Debian) for all SBCs and provide a blog about how to upgrade from Stretch => Buster => Bullseye, for Minecraft resp. PaperMC only, I do not see this being of high priority anymore. Cuberite (and most other dedicated Minecraft server implementations) ships an older Minecraft version and in MineOS one can freely select a version that works, and can even download "embedded" Java binaries(?). So in the latter case we may instead add a note to our docs, which version to select for which Debian version for now. But there are other software titles with specific Java version requirements, so I see there is some benefit to have more software available on more Debian versions. However, I'll detach this from milestones until there are more related reports/requests. |
Creating a software request
Is your feature request related to a problem? Please describe:
Example: Run a 1.17 server in MineOS and nothing will happen
Describe the solution you'd like:
Note: MineOS's developer Hexparrot has addressed the issue of managing Java versions and will be implementing a webui toggle for it soon, though not sure about the others.
hexparrot/mineos-node#410 (comment)
The text was updated successfully, but these errors were encountered: