How to Install and Uninstall java-11-openjdk.x86_64 Package on Rocky Linux 9

Last updated: November 01,2024

1. Install "java-11-openjdk.x86_64" package

Please follow the steps below to install java-11-openjdk.x86_64 on Rocky Linux 9

$ sudo dnf update $ sudo dnf install java-11-openjdk.x86_64

2. Uninstall "java-11-openjdk.x86_64" package

Learn how to uninstall java-11-openjdk.x86_64 on Rocky Linux 9:

$ sudo dnf remove java-11-openjdk.x86_64 $ sudo dnf autoremove

3. Information about the java-11-openjdk.x86_64 package on Rocky Linux 9

Last metadata expiration check: 1:37:41 ago on Fri Feb 16 06:49:52 2024.
Available Packages
Name : java-11-openjdk
Epoch : 1
Version : 11.0.22.0.7
Release : 2.el9
Architecture : x86_64
Size : 437 k
Source : java-11-openjdk-11.0.22.0.7-2.el9.src.rpm
Repository : appstream
Summary : OpenJDK 11 Runtime Environment
URL : http://openjdk.java.net/
License : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib and ISC and FTL and RSA
Description : The OpenJDK 11 runtime environment.