Linux - Java Runtime Environment
Linux - Java Runtime Environment
Java Runtime Environment
Check for JRE RPM Installation
Use this process to see if the Java JRE is installed via RPM.
List all JRE Packages
Type the following command to print the all the names of installed packages on your Linux system. Sort the output by name.
rpm -qa jre* | sort
- -q: query
- -a: all
The following example indicates that java is not installed:
[root@hdcentos rpm]# rpm -qa jre* | sort [root@hdcentos rpm]