this is a very strange problem for me. I'm writing an app that uses the BouncyCastle API. I downloaded the jar file from their website and I put it in my project build path so as to use it, and it works.
However, when I try to run the app from my command line I get an error: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/Digest
But when I run the same app from my eclipse IDE I get no such error. Has anyone experienced anyone like this? I mean, the class in the error is there in my buildpath, or eclipse wouldn't let me run the app. But it doesn't get picked up when I run my app from my command line.