[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java SDK on Debian



On Tue, Dec 18, 2001 at 04:47:50PM +0000, Ben Hill wrote:
> I have set up the Java 2 Standard Edition SDK in the /usr directory,
> and set up the environment variables.
> If I execute the "java" command though I get the message:
> Error: failed /usr/j2sdk1.4.0/jre/lib/i386/client/libjvm.so, because 
> libstdc++-libc6.1-1.so.2: cannot open shared object file: No such 
> file or directory
> Is it something to do with the LD_LIBRARY_PATH? I have tried to set 
> the directory as a LD_LIBRARY_PATH path with:
> export LD_LIBRARY_PATH=/usr/j2sdk1.4.0/jre/lib/i386/client

i have not tested this or anything, but fire up dselect or aptitude,
and search for `libstdc++' packages.  there are some older ones, that
have been kept to provide compatibility for netscape, and probably
java.  in particular `libstdc++2.9-glibc2.1' may be the ticket.

good luck.

-- 
____________________}John Flinchbaugh{______________________
| glynis@hjsoft.com         http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~

Attachment: pgpQKrZJwTaaa.pgp
Description: PGP signature


Reply to: