A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Not able to access BouncyCastle jar from Application jar
Joined: Feb 19, 2009
Feb 24, 2009 13:53:25
I have made jar file for my application. One of the class of my application uses BouncyCastleProvider class of BC jar.
I have created one folder "lib" in the same parent folder where my application jar is residing.
I have changed my machine CLASSPATH to point to this new lib folder. But when I run my application it gives me classnotfound exception.
But if I copy this BC jar file to my jre/lib/ext then everything works fine.
Can anybody tell me what I need to do to access BC jar file from my lib directory?
Thanks in Advance,
Joined: Mar 22, 2005
Feb 24, 2009 15:20:45
CLASSPATH needs to point to the jar file itself, not the directory it's in.
Ping & DNS
- my free Android networking tools app
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Not able to access BouncyCastle jar from Application jar
Packaging 3rd party .jars
How to call external ejb jar in J2EE Project
Creating jar files with Netbeans
PlZZZZZZ How to call external ejb jar in J2EE Project
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014