Computer Tips - How do I install Java on RedHat/Fedora/CentOS?

Date: 2012aug21 OS: Linux Distro: RedHat/Fedora/CentOS Q. How do I install Java on RedHat/Fedora/CentOS? A. Simply:
dnf install java
I wrote this because if you Google this question you find instructions on how to download things from Sun or Oracle. Don't do that. This is the way. You get the OpenJDK version of Java. More info here: http://openjdk.java.net/