Open JDK 21 on centos 9

Issues related to applications and software problems and general support
Post Reply
Michaelin007
Posts: 1
Joined: 2024/04/02 15:47:19

Open JDK 21 on centos 9

Post by Michaelin007 » 2024/04/02 15:48:44

Trying to install open jdk 21 on centos 9 : sudo yum install java-21-openjdk
I got his error: No match for argument: java-21-openjdk
Error: Unable to find a match: java-21-openjdk

Am I getting something wrong

User avatar
TrevorH
Site Admin
Posts: 33228
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Open JDK 21 on centos 9

Post by TrevorH » 2024/04/03 11:14:38

Raise a bug on issues.redhat.com in the RHEL section where you can find "Stream" as an affected version. I checked the mirror and there are no java-21 packages there at all despite them being in RHEL 9.3
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply