How To Install java-latest-openjdk-slowdebug on Rocky Linux 8

In this tutorial we learn how to install java-latest-openjdk-slowdebug on Rocky Linux 8. java-latest-openjdk-slowdebug is OpenJDK 16 Runtime Environment with full debugging on

Introduction

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

What is java-latest-openjdk-slowdebug

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

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

Install java-latest-openjdk-slowdebug 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-latest-openjdk-slowdebug using dnf by running the following command:

sudo dnf -y install java-latest-openjdk-slowdebug

Install java-latest-openjdk-slowdebug 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-latest-openjdk-slowdebug using yum by running the following command:

sudo yum -y install java-latest-openjdk-slowdebug

How To Uninstall java-latest-openjdk-slowdebug on Rocky Linux 8

To uninstall only the java-latest-openjdk-slowdebug package we can use the following command:

sudo dnf remove java-latest-openjdk-slowdebug

java-latest-openjdk-slowdebug Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/f5624aff0ce46e2ca00c1a4cb082ce88b06894
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/de0bb3097c00986d15b6a6c5af57e152bde004
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/9b1762bfd38e3ef5efd5e3ae2ccca4b90f61a0
/usr/lib/jvm/java-16-openjdk-16.0.1.0.9-3.rolling.el8.x86_64-slowdebug/lib/libawt_xawt.so
/usr/lib/jvm/java-16-openjdk-16.0.1.0.9-3.rolling.el8.x86_64-slowdebug/lib/libjawt.so
/usr/lib/jvm/java-16-openjdk-16.0.1.0.9-3.rolling.el8.x86_64-slowdebug/lib/libsplashscreen.so
/usr/share/icons/hicolor/16x16/apps/java-16-openjdk.png
/usr/share/icons/hicolor/24x24/apps/java-16-openjdk.png
/usr/share/icons/hicolor/32x32/apps/java-16-openjdk.png
/usr/share/icons/hicolor/48x48/apps/java-16-openjdk.png

References

Summary

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