Skip to content

Minecraft Version 1.20.6 Requires at least JDK 21 #342

@TimeTravelerFromNow

Description

@TimeTravelerFromNow

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions