I have copied the jar file downloaded from the site to the Java built path. Still I get this error.
Error: Could not find or load main class bouncy
All my program does is to verify addition.
import java.security.*;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
public class bouncy {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
java.security.Security.addProvider(new BouncyCastleProvider());
//Security.addProvider(new BouncyCastleProvider());
System.out.println("This works");
}
}
Any help?