tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hirner" <>
Subject how do I load a native library?
Date Mon, 24 Jun 2002 17:08:08 GMT

I would like to load a native library for all applications in the
common/lib directory.
So I wrote the following code:

 public class InitMapserver
     try {
        System.err.println(" loaded");
     } catch (UnsatisfiedLinkError e) {
        System.err.println(" not loaded: " + e);

then I created a jar file and copied it into the common/lib directory.
After restarting tomcat, I called the class in a servlet using the
Class.forName method. Unfortunately this does not work.

What did I wrong?

Thanks Andreas

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message