Hello,

I installed jss today and attempted to run a test application with no
luck. I've gone through many previous posts here and read the "using
jss" section multiple times... still haven't figured out what the
problem is. The cryptomanager will not initialize because apparently
my jss4.dll can't find *something*... what ever that happens to be.

The error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\jss\lib
\jss4.dll:
The specified procedure could not be found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at
org.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java:
1339)
        at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:
827)
        at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:
800)

C:\jss\lib has all of the .dll's from the NSS and NSPR binary distro
lib folder AND jss4.jar, jss4.dll.

Environment vars:
CLASSPATH = C:\jss\lib\jss4.jar
PATH = C:\jss\lib\
(have tried the path with and without the trailing \)

Operating System: Vista
Java -version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)

I have tried WINNT and WIN954 builds for NSS 3.9.2 and NSPR 4.6.4...
what's the difference?
Am I missing something?

All input is welcome and much appreciated.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to