If you have jdk1.2/bin in your PATH, the sym links there point to a
shell script which sets LD_LIBRARY_PATH appropriately.  You
don't have to set it yourself unless you are writing native code
to use the Invocation API.

Russ




[EMAIL PROTECTED] on 03/11/99 07:07:58 AM

To:   [EMAIL PROTECTED]
cc:   [EMAIL PROTECTED],
      [EMAIL PROTECTED] (bcc: Russell
      Pridemore/Lex/Lexmark)
Subject:  Re: can't find libjava.so




Bruno Boettcher wrote:

> > > Steve Cohen wrote:
> > > > I have installed jdk 1.2 on my redhat 5.2 system and pointed my path at
> > > > it.  When I try to run java, I get the Error can't find libjava.so.
> > > > I can find this file in jdk1.2/jre/lib/i386.  I tried copying it to
> > > > /lib.  That didnt' work.  Where is it expecting to find this file?
> me too i had to set the LD_LIBRARY_PATH to something like :
> /usr/local/src/jdk1.2/jre/lib/i386/green_threads:/usr/local/src
> /jdk1.2/jre/lib/i386/classic:/usr/local/src/jdk1.2/jre/lib/i386
>
> ciao
> bboett
> ==============================================================
> acount at earthling net
> http://erm6.u-strasbg.fr/~bboett
> ===============================================================
> Unsolicited commercial email is NOT welcome at this email address
> To contact me replace acount by bboett in above addresses

Well, thanks, but this didn't work for me either.
Even if it would have worked, this seems like a bug to me.  I don't think you
should have to go into your shell initialization scripts every time a new
version of java comes out..
Where is this LD_LIBRARY_PATH variable documented?
Steve


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]






----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to