I tried to install jdk 4 and 5 packages and found I cannot install j2sdk1.4.2_04 because I got “checksum error”. I tried to install jdk1.5.0_07 and got error too. Finally I tried j2sdk-1_4_2_19-linux-i586.bin and jdk-1_5_0_14-linux-i586.bin but I got the following error:
./jdk-1_5_0_14-linux-i586.bin: ./install.sfx.499: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
To fix it, I run the following:
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo
# yum install ld-linux.so.2
Then I successfully installed these two packages on RedHat 6.5.