Nick Christopher wrote:

> My web app uses some JNI code.  Currently I've put the shared library
> into $TOMCAT_HOME/lib and added that directory to LD_LIBRARY_PATH.
>
> I'd like something more elegant and that worked on Un*x and Windoze.
> I'd love to get it into the war file.
>

Unfortunately, native code is, by its very nature, platform specific.
There is no support for it inside the WAR file architecture, which is
supposed to be platfom independent.  In that way, it avoids all the
issues of deciding "which native code module works on the current
platform" and "how do I add this native code module to the path seen by
my OS".

>
> Is there a right way to do this or any better suggestions?
>

Sounds like you are doing the only practical thing.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to