I'm installing (or actually reinstalling) bouncy castle for a 9.0 env on windows platform. When I run the regression tests, the crypto.out file is:
java.lang.NoClassDefFoundError: org/bouncycastle/crypto/test/RegressionTest Exception in thread "main"
The command I'm using is:
C:\JDK5\bin>%JAVA_HOME%/bin/java -cp bctest-jdk15-138.jar org.bouncycastle.crypto.test.RegressionTest > crypto.out 2>&1
Ok, I have not changed any Java or Bouncy Castle settings. I am running Java 1.5._38.JAVA_HOMEis set correctly. I've madethechanges to the security policies as stated in the documentation.
Yes, and it (bouncy castle) used to work "before", but now I don't know what is the problem,and I have the only access to the box.
Any ideas?
TIA,
Roger
Did you apply BC to both JDK and JRE? I usually just do both of them to avoid any confusions. You may also wanna check under command prompt.
which java
and see if it's using the correct path for your JDK5\bin\java.exe
The timestamp on the WAS/JDK JCE Provider should be 6/5/2008 11:06am for the 2 files, (local_policy.jar/US_export_policy.jar). Do you have the latest one? I just ran the crypto.out and I see no error on my WAS FP17.