-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

I'm having that exact same problem with JNI as documented in the FAQ - I'm
receiving an unsatisfiedLinkError....

According to the FAQ - 'Servlets using native libraries must be put in the
classpath....' and the LD_LIBRARY_PATH must include the JNI libraries (i.e.
.so files).

In my scenario, servlets aren't using JNI directly, they are calling a class
which calls another class that uses JNI, i.e. Servlet -> Class -> JNI Class

Using the advice from the FAQ I've done the following:
1. Include the Servlet in the Classpath.
2. Include the Class in the Classpath.
2. Include the JNI Class in the Classpath.
3. Include the Library File in the LD_LIBRARY_PATH.

Note that in each of the 3 cases I've tried including the file directory
containers, the files themselves and both!

Still no dice!

Any ideas?

Cheers lads.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to