Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to access lib folder

843785Sep 26 2008
when using netbean to create an application, it puts the output application into

...dist/

folder
in this folder, there is a "lib" folder that contains some supplemental jar files.

I just download some APIs, that comes with its own jar files. I would like to place these jar files into the lib folders so that when I give my application to the end users, they don't have to install all the excessive API. How do I call to these pre-assembled API jar from "lib" folder?

Here is one example of that API that I'm talking about:
http://netresearch.ics.uci.edu/kfujii/jpcap/doc/

if you download his program and it comes with a Jpcap.jar that wraps around winpcap.dll. This jpcap is being installed into:

C:\Windows\Sun\Java\lib\ext

directory but I don't expect my end user to install his program, instead I would like to package his jpcap.jar file with my program into my "lib" folder. So in order to access his jpcap.jar from my lib folder, how do I do that?

sorry for the babble, I actually have a bunch of APIs that I used are like it that I would like to make it convenient for the end users to use so they don't have download and install every single one of them.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2008
Added on Sep 26 2008
0 comments
252 views