-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Matthew Ueckerman wrote:
>
> 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?
Yes - there is a renaming rule. This is discussed in more detail at
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/step5.html
Take a look at this and then if you still need help, E-mail me.
Jeff
>
> 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]
--
Jeff Silverman, PC guy, Linux wannabe, Java wannabe, Software engineer, husband,
father etc.
See my website: http://www.commercialventvac.com/~jeffs
[EMAIL PROTECTED]
--
--------------------------------------------------------------
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]