Skip to content
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

Open
TirantRex opened this issue Aug 4, 2024 · 5 comments
Open

[TureNAS Scale] Need updated Java verision for 1.21 support #555

TirantRex opened this issue Aug 4, 2024 · 5 comments

Comments

@TirantRex
Copy link

TirantRex commented Aug 4, 2024

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.

@false-fox
Copy link

thanks for posting that fix while we wait, appreciate it.

@SweetMoFo
Copy link

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.

@gmemstr
Copy link

gmemstr commented Nov 11, 2024

Looks like this should be fixed as of 53fb3b7

@Tormak3D
Copy link

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 ?

@ondra2305
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants