Note:Linux RPM (Redhat Package Manager) uses RPM to install the JRE. In order to use this method, you need to have RPM available on your system.
Note:The instructions below are for installing JRE 1.5.0_02. If you are installing another version, make sure you change the version number appropriately when you type the commands at the terminal.
Click the Download button next to Linux RPM x64 package.
After download verify:
For Linux RPM x64 packages
Name of the file is jre-1_5_0_02-linux-amd64-rpm.bin
Change to the directory in which you want to install. Type: cd
For example, to install the software in the /usr/java/ directory, Type: cd /usr/java
Note about root access:
To install the JRE in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the JRE in your home directory or a subdirectory for which you have write permissions.
Change the permission of the file you downloaded to be executable. Type: chmod a+x jre-1_5_0_02-linux-amd64-rpm.bin
Verify that you have permission to execute the file. Type: ls -l
To start the installation process, type: ./jre-1_5_0_02-linux-amd64-rpm.bin Note: If the file is in the current directory, prepend it with "./"
This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
The installation file creates jre-1_5_0_02-linux-amd64.rpm file in the current directory.
Run the RPM command at the terminal to install the packages. Type: rpm -iv jre-1_5_0_02-linux-amd64.rpm
The JRE is installed in jre1.5.0_(version number) sub-directory under the current directory. In this case, the JRE is installed in the /usr/java directory. Verify that the jre1.5.0_02 sub-directory is listed under the current directory. Type: ls
Delete the bin and rpm file if you want to save disk space.
Exit the root shell.
NEED MORE HELP?
If you require further assistance, please make sure you check through our
Help and FAQ sections thoroughly. We probably have a page that answers your question.