my dog learned polymorphism*
The moose likes Beginning Java and the fly likes [solved]how to add bouncycastle package to java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "[solved]how to add bouncycastle package to java?" Watch "[solved]how to add bouncycastle package to java?" New topic
Author

[solved]how to add bouncycastle package to java?

L Willie
Ranch Hand

Joined: Aug 10, 2008
Posts: 51
i have downloaded Bouncy Castle Crypto Package and put it to C:\Program Files\Java\jdk1.6.0_06\jre\lib\ext,I add it to classpath as well,however still receive the message.
what the correct step to add the new API to java?

package org.bouncycastle.jce does not exist
package org.bouncycastle.asn1 does not exist
package org.bouncycastle.asn1.pkcs does not exist
package org.bouncycastle.asn1.x509 does not exist



Sincerely

willie
[ October 12, 2008: Message edited by: L Willie ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41824
    
  63
What command are you executing when you get that message? Are you certain that the JRE showing the message is the same as the one where you added the jar files? Sometime people have more than one JDK installed without even knowing it.


Ping & DNS - my free Android networking tools app
L Willie
Ranch Hand

Joined: Aug 10, 2008
Posts: 51
problem solved already,thank.since bouncycastle have multiple of jar file,confuse just now
[ October 12, 2008: Message edited by: L Willie ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [solved]how to add bouncycastle package to java?