user717236
user717236

Reputation: 5039

How can I install or import Bouncy Castle Cryptography API for Java; ZIP has no .class files; using netbeans ide

I'm having some difficulty installing Bouncy Castle for Java (installing is probably not the correct term, here, I understand that).

I navigated to their webiste, here, and downloaded version 1.6 of the lightweight API, as a ZIP file. I extracted it to my Windows XP SP2 machine and expected it to be easy but it's not. I attached it as a library to my NetBeans IDE project and quickly discovered that there are no .class files in this ZIP file. I mean, I can only import .class files to my project, correct? How do I 'install' Bouncy Castle? Do I have to compile every .java file. If so, how do I go about it?

Thank you.

Upvotes: 4

Views: 25001

Answers (2)

Reid Mac
Reid Mac

Reputation: 2489

There is a .jar file here, just download the .jar file and add it to your classpath, and you should be able to use the API.

Upvotes: 8

tobiasbayer
tobiasbayer

Reputation: 10379

Maybe you downloaded the "Sources & Docs" package accidentially. Try the section "Signed Jar Files" on their site.

Upvotes: 3

Related Questions