Relevance for RHEL Java Versions

Anyone have a relevance that lists all installed versions of Java on RHEL servers? Appreciate all the help so far as I learn BigFix!

I’m not able to test this at the moment but something like this:

version of package whose (name of it contains “java”) of rpm

-M-

we want do that too in our 10K unix server but there isn’t any easy way of doing it if the java is not installed via rpm or pkgadd. Most of the java installed in our infra is using tar ball for tomcat/weblogic/websphere etc etc. We are leaning towards the bigfix inventory software scan the file system and maintain the db of file system and then we can run the query on that db for java, apache version etc. So that it will match to CVE for java/tomcat/apache/weblogic vulnerabilities.