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
Using this information is at your own risk.
It's only meant to help you setting up Java on your RedHat 7.0
First of all be sure to install the latest glibc version 2.2-12 or higher.
The previous release did cause a segmentation fault.
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'
RedHat 7.0 is shipped with a lot of bugs
Its also wise to do all other updates for RedHat 7.0
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
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:
Placing some simlinks at /usr/lib
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.
Installing the latest compat-libstdc++ rpm does also seem to solve it.
(Method 2 received from: Rich Ryan.)
After that my SUN jdk1.3 does seem to run fine.
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