File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Installing JDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installing JDK" Watch "Installing JDK" New topic
Author

Installing JDK

Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
============================================================
While trying to install the sun 1.3.1 jdk I'm getting the following
error on RedHat 7.2.
/usr/java/jdk1.3.1_03/bin/i386/native_threads/javac: error while loading
shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object
file: No such file or directory
doing a locate on libstdc++-libc6 I get
/home/cparrish/Downloads/libstdc++-2.95.3-19cl.i386.rpm
/home/cparrish/OpenOffice.org1.0/program/libstdc++.so.3.0.4
/home/cparrish/OpenOffice.org1.0/program/libstdc++.so.3
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.so
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.a
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++-libc6.2-2.so.2
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.a
/usr/lib/libstdc++-libc6.2-2.a.3
So I have a more recent version. my question is does anyone know of a
way to either force the jdk to use the newer version. Or what exactly
would I break if I try to force an install of the older library?
============================================================
Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
Okay it looks like from the install doc at java.sun.com/j2se/1.3/install.html that I need to manually install compat-libstdc++-6.21-2.9.0.0.i386.rpm
The problem is I don't see this at rpmfind.net. (looking thought my RH disks now).
Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
found compat-libstdc++-6.21-2.9.0.0.i386.rpm on my CDs. it seems to have worked.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'm moving this over to the Linux / UNIX forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing JDK