mscs
mscs copied to clipboard
Minecraft Version 1.20.6 Requires at least JDK 21
Minecraft 1.20.6 depends on JDK 21
Which is not in the package manager for debian I found a solution and wrote a guide on my website
Since Minecraft 1.20.6 came out just a few days ago, I dont know how many of you updated your servers.
I spent a few hours troubleshooting and solving by the problem by installing JDK 22. (JDK 21 already superceded).
Steps to Install
- Navigate in your server to the directory where you want this JDK installation to live
- use wget to download the jdk-package.tar.gz to the server
- unzip with tar xvzf the downloaded jdk-package.tar.gz
- export to the $PATH variable
- edit to add the variables to ~/.bashrc file
- Should be good now, (Disclaimer: I do not know if this breaks other programs that depend on older JDK such as old minecraft servers)