From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Description of problem:
SUN jdk1.3 cannot work with RedHat 7.1
( java, javac, jar ,...... They cannot not work)
Steps to Reproduce:
Actual Results: /usr/java/jdk1.3.0_02/bin/java: /usr/bin/cut: No
such file or directory
/usr/java/jdk1.3.0_02/bin/i386/native_threads/java: error while
loading shared libraries: libjvm.so: cannot load shared object
file: No such file or directory
Please use Sun JDK 1.3.1RC2 (or later) or read RELEASE-NOTES.
Basically, you should replace /usr/bin/cut referencese in JDK scripts
with either simple cut or /bin/cut (or ln -sf /bin/cut /usr/bin/) and
to work around bugs in JDK you should export LD_ASSUME_KERNEL=2.2.5.