https://www.oracle.com/java/technologies/oracle-java-archive-downloads.html
[root@riyimei tmp]# rpm -qa jdk1.8
jdk1.8-1.8.0_261-fcs.x86_64
[root@riyimei tmp]# rpm -qi jdk1.8
Name : jdk1.8
Epoch : 2000
Version : 1.8.0_261
Release : fcs
Architecture: x86_64
Install Date: Sun 25 Oct 2020 09:13:25 PM CST
Group : Development/Tools
Size : 256968058
License : https://java.com/otnlicense
Signature : RSA/SHA256, Thu 18 Jun 2020 03:31:04 PM CST, Key ID 72f97b74ec551f03
Source RPM : jdk1.8-1.8.0_261-fcs.src.rpm
Build Date : Thu 18 Jun 2020 03:04:18 PM CST
Build Host : java.com
Relocations : /usr/java
Vendor : Oracle Corporation
URL : http://www.oracle.com/technetwork/java/javase/overview/index.html
Summary : Java Platform Standard Edition Development Kit
Description :
The Java Platform Standard Edition Development Kit (JDK) includes both
the runtime environment (Java virtual machine, the Java platform classes
and supporting files) and development tools (compilers, debuggers,
tool libraries and other tools).
The JDK is a development environment for building applications, applets
and components that can be deployed with the Java Platform Standard
Edition Runtime Environment.
[root@riyimei tmp]# rpm -qc jdk1.8
/usr/java/jdk1.8.0_261-amd64/.java/.systemPrefs/.system.lock
/usr/java/jdk1.8.0_261-amd64/.java/.systemPrefs/.systemRootModFile
/usr/java/jdk1.8.0_261-amd64/.java/init.d/jexec
/usr/java/jdk1.8.0_261-amd64/jre/lib/charsets.pack
/usr/java/jdk1.8.0_261-amd64/jre/lib/deploy.pack
/usr/java/jdk1.8.0_261-amd64/jre/lib/ext/localedata.pack
/usr/java/jdk1.8.0_261-amd64/jre/lib/javaws.pack
/usr/java/jdk1.8.0_261-amd64/jre/lib/jsse.pack
/usr/java/jdk1.8.0_261-amd64/jre/lib/plugin.pack
/usr/java/jdk1.8.0_261-amd64/jre/lib/rt.pack
/usr/java/jdk1.8.0_261-amd64/lib/tools.pack
[root@riyimei tmp]#
[root@riyimei tmp]# rpm -e jdk1.8
[root@riyimei tmp]# rpm -qa jdk1.8
[root@riyimei tmp]# rpm -qc jdk1.8
package jdk1.8 is not installed
[root@riyimei tmp]# rpm -qi jdk1.8
package jdk1.8 is not installed
[root@riyimei tmp]#