Docker build no longer supports newest versions of Minecraft
Opened this issue · 3 comments
Trying to start either 1.20.5 or 1.20.6 fails, looking in the container it appears they need newer versions of Java possibly Jre21. I manually installed Java 21 in the container and manually calling the jar file I can get it to start but even replacing /usr/bin/java alias to use 21 the server will not start through the GUI it will start manually. I just dont know enough about mine os to troubleshoot it much further. 1.20.4 will start without issue using the GUI.
I installed using apt, and it started via the gui.
apt update
apt install openjdk-21-jre-headless:amd64
If you need to, you can also check/switch between versions using:
update-alternatives --config java
Thanks yeah I did something similar in the end, I managed to create my own somewhat updated container from the dockerfile, updated it to a jammy base, installed openjdk-21, and pulled in the newest mineos git repo changes and its running. Thought about messing with Nodejs updates but it looked to be more effort than I wanted at the moment to go from 14 to 20.
An updated docker build would be nice. Especially for us people on Truenas. It is a giant PITB to try to update java in that app environment.