problem in Installing BC in jdk
hi,
i have jdk1.6.0_27 on windows 7 system. In order to install BC i have placed jar file bcprov-jdk16-146.jar in c:\program files\java\jdk1.6.0_27\jre\lib\ext and also in c:\program files\java\jre6\lib\ext folder. Further, i have added the provider in java.security file of both jdk1.6.0_27 and jre6 by adding the following line after all the other providers mentioned in file.
security.provider.9=org.bouncycastle.jce.provider. BouncyCastleProvider
i have also replaced my policy files with the unrestricted one which is recognized by my system when run program SimplePolicyTest.java from the book but when i execute SimpleProviderTest.java from book, it gives the output
BC provider not installed.
I am not able to figure out where m i doing wrong. please help me
regards
sanskriti
Last edited by sanskriti; October 4th, 2011 at 02:50 AM..
|