Platform(s):
Sun Java Desktop System, Red Hat Linux, SUSE Linux
Java version(s):
All JRE Versions
If a version of Java Runtime Enviornment(JRE) is installed on the system, but is not listed by the RPM query, then it is not an RPM installation. The RPM database can be queried to determine what packages have been installed.This command will try to locate any JRE on the system.
Open new Terminal Window
Type following command: rpm -qf /usr/java/jre1.5.0
(This command is used to find the installation of JRE 1.5.0. Change the version number if you want to find other versions)
This command will try to locate any Java Development KIT (JDK) and JRE on the system.
Open new Terminal Window
Type: rpm -q jdk jre
This command will give the directory name of any JRE installation on the system.