A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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 app for network diagnostics
I agree. Here's the link:
subject: Not able to access BouncyCastle jar from Application jar
Creating jar files with Netbeans
PlZZZZZZ How to call external ejb jar in J2EE Project
Packaging 3rd party .jars
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