[CentOS] JAVA Issue - JDK 1.4 - Cent OS 4.2

Wed Jan 4 14:30:15 UTC 2006
Jim Perrin <jperrin at gmail.com>

> Trying to run up a JVM on a box thats running 4.2 - The JDK version is
> j2sdk1.4.2_03 and the exact error is below
>

Assuming this is the sun java package, this is REALLY out of date.
Current for the 1.4.2 series is _10.

> Unable to load native library: /opt/j2sdk1.4.0/jre/lib/i386/libjava.so:
> symbol __libc_waitpid, version GLIBC_2.0 not defined in file libc.so.6
> with link time
>   reference

I'd recommend getting the sun sdk rpms from java.sun.com, and
installing the sun-java-compat package from jpackage.org, as it makes
things loads easier to get running. Alternatively(slightly more work),
you can grab the sdk .bin file from the sun site, and get the
appropriate nosrc.rpm from jpackage and build a solid java rpm.
jpackage.org is an excellent project and they've got some pretty good
docs on their site about how to do this.


--
Jim Perrin
System Architect - UIT
Ft Gordon & US Army Signal Center