SUN Java(TM) 2 SDK, Standard Edition 1.3.0_00
on RedHat 7.0

newer versions of the SDK 1.3.x seem to be fixed for this problem

DISCLAIMER:
Using this information is at your own risk.
It's only meant to help you setting up Java on your RedHat 7.0

Step 1:
First of all be sure to install the latest glibc version 2.2-12 or higher.
The previous release did cause a segmentation fault.
See http://www.redhat.com/support/errata/RHBA-2000-079.html
Tip: (send in by Rich Ryan.)
Running 'rpm -U glibc-2.2-12.i386.rpm' asks for glibc-common
then running 'rpm -U glibc-common-2.2-12.i386.rpm' fails with a compatibility error.
The solution is to upgrade both at once by running
'rpm -Uvh glibc-2.2-12.i386.rpm glibc-common-2.2-12.i386.rpm'

Step 2:
RedHat 7.0 is shipped with a lot of bugs
Its also wise to do all other updates for RedHat 7.0
See http://www.redhat.com/support/errata/

Step 3:
Download the Sun SDK 1.3 from http://java.sun.com/j2se/1.3/download-linux.html
An installation instruction is given at http://java.sun.com/j2se/1.3/install-linux-sdk.html
Also take a short look at the readme http://java.sun.com/j2se/1.3/README-linux.html
and release notes http://java.sun.com/j2se/1.3/relnotes-linux.html

Step 4:
Next problem probably will be that the SDK can't find some shared libraries when executing /usr/java/jdk1.3/bin/java for example.
I hope this will be fix it in a next (patch) release.
The cause is plain simple.
The libraries are there but with a higher version number.
There are two ways to fix it:
Method 1:
Placing some simlinks at /usr/lib
ln -s libstdc++-3-libc6.2-2-2.10.0.a    /usr/lib/libstdc++-libc6.1-1.a.2
ln -s libstdc++-3-libc6.2-2-2.10.0.so  /usr/lib/libstdc++-libc6.1-1.so.2
I think this is save.
These two libraries are contained at libstdc++-devel-2.96-54.rpm and libstdc++-2.96-54.rpm so you need to install these.
Method 2:
Installing the latest compat-libstdc++ rpm does also seem to solve it.
http://rpmfind.net/linux/RPM/redhat/7.0/i386////compat-libstdc++-6.2-2.9.0.9.i386.html
(Method 2 received from: Rich Ryan.)

After that my SUN jdk1.3 does seem to run fine.


TIP 1:
It's quite useful to add a path to .bash_profile
This way you don't have to type the path in front of the java programs.
Normally the path is /usr/java/jdk1.3/bin


© RJHM van den Bergh, rvdb@comweb.nl