I recently read in a book on a Java-based technology that one can determine if the JDK is installed by running java -version and looking for the the Strings “Client” or “Server” in the output of the ...
Well if you are on Red Hat, then you are probably a fan of RPMs... Surely all you have to do is install an rpm. (If you don't know how to do this, man rpm).