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

Minecraft Version 1.20.6 Requires at least JDK 21 #342

Open
TimeTravelerFromNow opened this issue May 18, 2024 · 0 comments
Open

Minecraft Version 1.20.6 Requires at least JDK 21 #342

TimeTravelerFromNow opened this issue May 18, 2024 · 0 comments

Comments

@TimeTravelerFromNow
Copy link

TimeTravelerFromNow commented May 18, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants