Pier, Pier Fumagalli wrote: > > "unique process"??? It's a DYLD "NSAddModule" call to the JVM library, and > CreateJavaVM is called CreateJavaVMImpl... Doesn't look that "unique"...
It is unique if you want Java code to invoke a C function via JNI. On Mac OS X, you need to name the shared library *.jnilib instead of *.dylib if you want to invoke a "public native" Java method so that System.loadLibrary() will work. The use of NSAddModule works fine but is only accessible via C code with exists only in the parent process. Once you are with Tomcat (i.e. binding ports as root), you are limited to accessing C functions via System.loadLibrary() and invoking the "public native" Java method. Patrick -- _____________________________________________________________________ Patrick Luby Email: [EMAIL PROTECTED] Sun Microsystems Phone: 408-276-7471 901 San Antonio Road, USCA14-303 Palo Alto, CA 94303-4900 _____________________________________________________________________ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>