How to access external jar file in our application in netbeans
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Trupti_Mehta
Posted On:   Thursday, June 29, 2006 03:44 AM


I am developing an application in netbeans. I want to access a jar file, which contains custommade beans & other classes made by me. How do i include the jar file in my project & how can i access it in my classes.

Thanks

Trupti

Re: How to access external jar file in our application in netbeans

Posted By:   Byron_Tymvios  
Posted On:   Thursday, June 29, 2006 04:18 AM


You can add the jar file to Netbeans as an external library by choosing 'Tools' on the menu bar and then selecting 'Library Manager'. In there you can give it a name and the path to the jar file. Once it is setup, if you go to your project properties, and click the 'Libraries' option on the left you will be able to add it. Select 'Add Library' and choose the one that you just created, it will now be part of your project.



Alternatively, if you don't want to set it up as a library in Netbaeans, go straight to the project properties, select 'Libraries' and then select the 'Add Jar/Folder' option, now you can navigate to your jar file and add it to your project.


Hope this helps

Byron

About | Sitemap | Contact