Quick guide to download and install OpenJDK 6 on Fedora, Oracle & Redhat Linux. - OpenJDK Community Version
OpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. Main difference between Oracle JDK and OpenJDK is that OpenJDK is free for all while Oracle Java Development Kit or Oracle JDK requires commercial license. For more details refer openjdk vs oracle jdk
If you want to know more about OpenJDK, you can go through Open Java Development Kit Quick guide.
Note: To uninstall previously installed OpenJDK please refer Uninstall OpenJDK Windows
Go to https://jdk.java.net/archive/ and download the OpenJDK 6 tar distribution openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz. Here is the quick lik to download the OpenJDK 6 tar file openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz
To Install OpenJDK 6 Java Runtime - Enter the below command on Fedora, Oracle & Redhat Linux command line.
$ su -c "yum install java-1.6.0-openjdk"
$ su -c "yum install java-1.6.0-openjdk-deve1"
Once the above steps are successfully completed , we need to set the "JAVA_HOME" and "PATH" environment variables. Enter the following commands to set your environment variables. Make sure that your environment variables point to a valid installation of JDK on your Fedora, Oracle & Redhat Linuxmachine.
Once the OpenJDK 6 Download and installation is complete, we can verify the installed OpenJDK 6 version using below Command.
Go to Fedora, Oracle & Redhat Linux prompt and type java -version
The above command prints the OpenJDK 6 version you installed.
Note: Here is the list of OpenJDK known-issues OpenJDK Known Issues
OpenJDK On Linux