> How did you add /usr/local/lib to the system (JVM) search path? It's not > searched by default, although /usr/lib/java is.
I am using,
export PATH=/usr/local/lib to set this a searchable path.
> i don't remember if Safari lets you add JVM startup parameters, and I think > that's what would be necessary in order for /usr/local/lib to be searched > for JNI libraries.
But I tried in other browsers as well. Does mozilla firefox 1.5 does the same ?
> if you put both the jar and JNI-lib in the user's home > Library/Java/Extensions, a directory you may have to create if it doesn't > exist, then Safari and FireFox should both see the necessary classes. Or
> you can pre-install into /Library/Java/Extensions, but that would need root > privileges.
My /Library/Java/Extensions now contains (thrid party wrapper classes, as i said)
libpkcs11wrapper
pkcs11wrapper.jnilib
libpkcs11wrapper.jnilib
All these files are created as an output of the makefile supplied by the thrid party (which does the Java-C interfacing). I created these 3 differently named files, just incase the loadLibrary() doesn't recognize a specific name. All these files infact are the same only the names being different.
> If you could post a complete stack-trace, rather than just the type of the > exception, it might help us figure out exactly where it's failing.
security: Certificate has been verified with Root CA certificates successfully security: No timestamping info available security: User has granted the priviledges to the code for this session only security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store security: Saving certificates in Deployment session certificate store security: Saved certificates in Deployment session certificate store Mon May 01 09:45:24 PDT 2006 JEP creating applet eTokenMacApplet (file:/Users/jmk/Desktop/iaikPkcs11Wrapper1%5B1%5D.2.16/demo/src/demo/pkcs/pkcs11/wrapper/)
basic: Starting applet ... <<< ProxyClassLoader: defined LiveConnectProxy class. >>> <<< Here're the permissions you've got: >>> <<<
java.security.Permissions@7cd15d ( (java.io.FilePermission read) ) >>> basic: Stopping applet ... basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@7e8c4d
basic: Finding information ... basic: Releasing classloader: sun.plugin.ClassLoaderInfo@908881, refcount=0 basic: Caching classloader:
sun.plugin.ClassLoaderInfo@908881 basic: Current classloader cache size: 1 basic: Done ... basic: Joining applet thread ... basic: Destroying applet ... basic: Disposing applet ... basic: Quiting applet ...
basic: Joined applet thread ...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden