---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Hi, I have a package (let's call it MyPack) with some classes inside. The main class of MyPack is MyClass. This class has no constructor. Another particularity is that she uses an external C lib (let's call it libmylib.so) with a System.loadLibrary("mylib"). When i use MyPack in a java application, it works very well. When i use it - in the same way - in a servlet, it doesn't work at all. The error_log file contains the following error : java.lang.NoClassDefFoundError : MyPack/MyClass If i add a constructor in Myclass, the error message is : java.lang.UnsatisfiedLinkError: no mylib in java.library.path I try to put libmylib.so in all directories, i also changed the repositories or wrapper.env but it doesn't work at all !!!! Help me please ! (Answer me direclty please. Thanks) -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search Archives: <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/> Problems?: [EMAIL PROTECTED]