1. Step 1
Determine your operating system 32 bit or 64 bit and what type of Java to install. Redhat Project Manager (RPM) uses Redhat to install automatically, but the computer needs to have Redhat with this option available. If it's on the computer or you're not sure, follow the instructions in Section 2 for self-extracting binary option.
2. Step 2
Download the file from Java's website. Make sure you download the self-extracting file for either 32 bit or 64 bit depending on your operating system.
3. Step 3
Switch to the directory where you saved the file and execute the binary "./jre-6u3-linux-i586-rpm.bin."
4. Step 4
Change permission to make executable if necessary with "chmod 755 jre-6u3-linux-i586-rpm.bin."
5. Step 5
Execute RPM, once the file has been executed and type "Yes" to accept the license agreement and allow it to finish the install.
6. Step 6
Create a symbolic link like "(cd /usr/bin)," "(ln -s /usr/java/jre1.6.0_03//bin/java java)"or "(ln -s /usr/java/jre1.6.0_03//bin/javac javac.)"
7. Step 7
Type "java -version" to confirm version and type "rpm -qa | grep jre" to confirm version against rpm database.
Self-Extracting Binary File Installation Instructions
8. Step 1
Download the file from Java's website with the correct self-extracting file for either 32 bit or 64 bit depending on your operating system.
9. Step 2
Switch the directory to where you want file downloaded, for example change from "/home/gabby/java" to "cd /home/gabby/java."
10. Step 3
Change permission to executable on file from "chmod 755 jre-6u3-linux-i586.bin" to "execute file ./jre-6u3-linux-i586.bin."
11. Step 4
Accept the license agreement.
12. Step 5
Remember your directory and create symbolic link such as "ln -s /home/gabby/java/jre1.6.0_03/bin/java java" or "ln -s /home/gabby/java/jre1.6.0_03/bin/javac javac."
13. Step 6
Type "java -version" to confirm version.
rpm -ivh jre-7u7-linux-i586.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: open of jre-7u7-linux-i586.rpm failed: No such file or directory