mscs icon indicating copy to clipboard operation
mscs copied to clipboard

Minecraft Version 1.20.6 Requires at least JDK 21

Open TimeTravelerFromNow opened this issue 9 months ago • 0 comments

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

  1. Navigate in your server to the directory where you want this JDK installation to live
  2. use wget to download the jdk-package.tar.gz to the server
  3. unzip with tar xvzf the downloaded jdk-package.tar.gz
  4. export to the $PATH variable
  5. edit to add the variables to ~/.bashrc file
  6. Should be good now, (Disclaimer: I do not know if this breaks other programs that depend on older JDK such as old minecraft servers)

TimeTravelerFromNow avatar May 18 '24 02:05 TimeTravelerFromNow