user1031431
user1031431

Reputation: 1545

KeyPairGenerator not found in Eclipse

When testing a Java class I've created using JUnit on Eclipse I get an error telling me: "the source attachment does not contain the source for the file KeyPairGenerator.java". I've just installed Java JDK and Java JCE Unlimited Strength Juristiction Policy Files. I use Ubuntu 11.04. I get the same error for DSAKeyPairGenerator.java. Any ideas?

Upvotes: 0

Views: 175

Answers (1)

amrfaissal
amrfaissal

Reputation: 1070

You need to add the bouncycastle provider jar to java lib. Those classes are available in this jar.

Enjoy :)

Upvotes: 1

Related Questions