-
Notifications
You must be signed in to change notification settings - Fork 175
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
[TureNAS Scale] Need updated Java verision for 1.21 support #555
Comments
thanks for posting that fix while we wait, appreciate it. |
Thanks for this, it nearly worked but I go the error "Unable to locate package openjdk-21-jdk" To solve this I ran "apt update" first then ran "apt-get install openjdk-21-jdk" I am on the latest TrueNAS ElectricEel 24.10.0.1 and using the standard MineOS app (not Charts) so this might be why. |
Looks like this should be fixed as of 53fb3b7 |
It's not fixed because the iso was not update with this commit, @hexparrot can you build a new iso/release with the last commit ? |
Also run into this and yes the dependencies need to be updated, but the bigger issue (in my opinion) is the absolutely no errors or output when trying to start the server, I had to really dig to discover the incompatible Java version was the problem... |
1.21 currently does not work from the official TrueNAS Scale Charts due to an incompatible java version. Server will not start and produces no logs. The same server running version 1.20.4 works without issue.
Opening a shell in the MineOS pod and running "java --version" return the following:
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17.0.2+8-Ubuntu-120.04, mixed mode, sharing)
According to PaperMC's documentation (https://docs.papermc.io/paper/getting-started) 1.21 needs at least Java version 21 to work.
I was able to fix this issue by opening a Shell for the Pod and running "apt-get install openjdk-21-jdk" which allowed the server to run.
The text was updated successfully, but these errors were encountered: