1. Download jdk from here:
http://cds-esd.sun.com/ESD39/JSCDL/jdk/5.0_15/jdk-1_5_0_15-linux-amd64-rpm.bin?AuthParam=1212502176_37e9eeebbc1a57c5c24004ebc6ec106c&TicketId=nodzBV0QRXZwluEqlUWeV5ubcQ%3D%3D&GroupName=CDS&FilePath=/ESD39/JSCDL/jdk/5.0_15/jdk-1_5_0_15-linux-amd64-rpm.bin&File=jdk-1_5_0_15-linux-amd64-rpm.bin
(Note: Don't confuse by the name amd64 here , this version is for intel also)
2. At the promt window : Enter :su
3. Enter the root password.
4. Change to the directory in which you want to install.
Type: cd directorypath
5. Change the permission of the file to make it executable.
Type: chmod a+x jre-1_5_0_02-linux-amd64-rpm.bin
6. Verify that you have excutable permission on the file.
Type: ls -l
7. To start the installation process,
type:. /jre-1_5_0_02-linux-amd64-rpm.bin
8. License agreement will be displayed. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
9. 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.