users@glassfish.java.net

Glassfish and JNI

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Jan 2009 13:07:19 PST

Hey all. I have some Java code for my web server that is designed to load a native C library with a .so extension. I've done a few searches and I can see that other people are doing this but I'm missing a few pieces or something because I am still getting a no "NativeLibrary" found in in java.library.path error. I was wondering if anyone could point me to a tutorial that tells me how to set up Glassfish so the Java code can load the NativeLibrary or if someone knows how that would be great to.

The reason I refrained from giving all the details from everything I have tried is I know I'm doing something wrong and I figure it's just easier to be told the right way and start with that.

Thanks for any help in advance.

**** I am running on a Linux machine and I am using Glassfish v2ur2. ****
[Message sent by forum member 'mrgamecube' (mrgamecube)]

http://forums.java.net/jive/thread.jspa?messageID=327452