How To Install java-11-openjdk-fastdebug on Rocky Linux 8

In this tutorial we learn how to install java-11-openjdk-fastdebug on Rocky Linux 8. java-11-openjdk-fastdebug is OpenJDK 11 Runtime Environment optimised with full debugging on

Introduction

In this tutorial we learn how to install java-11-openjdk-fastdebug on Rocky Linux 8.

What is java-11-openjdk-fastdebug

The OpenJDK 11 runtime environment. This package is optimised with full debugging. Install only as needed and remove ASAP.

We can use yum or dnf to install java-11-openjdk-fastdebug on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install java-11-openjdk-fastdebug.

Install java-11-openjdk-fastdebug on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install java-11-openjdk-fastdebug using dnf by running the following command:

sudo dnf -y install java-11-openjdk-fastdebug

Install java-11-openjdk-fastdebug on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install java-11-openjdk-fastdebug using yum by running the following command:

sudo yum -y install java-11-openjdk-fastdebug

How To Uninstall java-11-openjdk-fastdebug on Rocky Linux 8

To uninstall only the java-11-openjdk-fastdebug package we can use the following command:

sudo dnf remove java-11-openjdk-fastdebug

java-11-openjdk-fastdebug Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/73cbe6948bbc18a7bec38bbb84f1d05678eebc
/usr/lib/.build-id/74
/usr/lib/.build-id/74/e5b541702e482e45c34c9015a14b91d2609a34
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/54560055d564e1609dd06332c5dcde29b77bd1
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64-fastdebug/lib/libawt_xawt.so
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64-fastdebug/lib/libjawt.so
/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64-fastdebug/lib/libsplashscreen.so
/usr/share/icons/hicolor/16x16/apps/java-11-openjdk.png
/usr/share/icons/hicolor/24x24/apps/java-11-openjdk.png
/usr/share/icons/hicolor/32x32/apps/java-11-openjdk.png
/usr/share/icons/hicolor/48x48/apps/java-11-openjdk.png
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/d3b4f13efdfacfc2a38b583ca67723ec6cdd34
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/382858bb198fd168f9a8a85ecfb053e920008e
/usr/lib/.build-id/86
/usr/lib/.build-id/86/142ed86ff89d2cb5c266ffa75bf946174e3fa6
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64-fastdebug/lib/libawt_xawt.so
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64-fastdebug/lib/libjawt.so
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.el8_4.x86_64-fastdebug/lib/libsplashscreen.so
/usr/share/icons/hicolor/16x16/apps/java-11-openjdk.png
/usr/share/icons/hicolor/24x24/apps/java-11-openjdk.png
/usr/share/icons/hicolor/32x32/apps/java-11-openjdk.png
/usr/share/icons/hicolor/48x48/apps/java-11-openjdk.png

References

Summary

In this tutorial we learn how to install java-11-openjdk-fastdebug on Rocky Linux 8 using yum and dnf.