Florian Bernstein wrote:
Wan-Teh Chang wrote:

Florian Bernstein wrote:

Hello,

everytime I tried to build a java application using the jss34.jar, I get following exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jss3 in java.library.path

Can anyone help me get it working?



I believe the "jss3" in the exception message is referring to libjss3.so. JSS contains native code. So you need libjss3.so, NSS (libnss3.so, etc.), and NSPR (libnspr4.so), and the directory these .so's are in needs to be added to your LD_LIBRARY_PATH environment variable.

Wan-Teh

That's what I have already done, downlaoding all the lib files and addign the pathes to the LD_LIBRARY_PATH. But it seems as if linux doesn't recognize the libs. I checked the pathes twice, and they're spelled right.

Any other solutions?

Please post the value of your LD_LIBRARY_PATH here.

On Linux, you need the following files:
libjss3.so
libnss3.so
libsoftokn3.so
libsoftokn3.chk
libsmime3.so
libssl3.so
libnspr4.so
libplc4.so
libplds4.so

The *directories* they are installed in need to be in
your LD_LIBRARY_PATH environment variable for the JRE.

Other than this, I can't think of any other possible
cause of the problem.

Wan-Teh
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to