You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Lynch <jw...@sgi.com> on 2003/11/10 16:26:43 UTC
Where to I put .so for JNI access?
I've searched google for jni and tomcat, but I can't figure out where to
put a shared lib so a Tomcat application will find it. All the people
looking for help have already figured this out, apparently.
Anyway, running Linux on Intel, Tomcat 4.1.24. Where does my .so file
go so my
SystemLoadLibrary("Replace");
might find it?
Thanks,
Jim.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Where to I put .so for JNI access?
Posted by Dirk Griesbach <dg...@eurocom-depora.de>.
Hi Jim,
just make sure your OS can find the shared lib.
Under Win: make sure it can be found using your PATH-variable.
Under (L)UNIX: the same. Add an environment variable LD_LIBRARAY_PATH
and put your .so there.
greets
grisi
----- Original Message -----
From: Jim Lynch <jw...@sgi.com>
To: Tomcat Users List <to...@jakarta.apache.org>
Sent: Monday, November 10, 2003 4:26 PM
Subject: Where to I put .so for JNI access?
> I've searched google for jni and tomcat, but I can't figure out where to
> put a shared lib so a Tomcat application will find it. All the people
> looking for help have already figured this out, apparently.
>
> Anyway, running Linux on Intel, Tomcat 4.1.24. Where does my .so file
> go so my
>
>
> SystemLoadLibrary("Replace");
>
> might find it?
>
> Thanks,
> Jim.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org