NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

problem regarding jar

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
Gautam



Joined: 17 Apr 2015
Posts: 2

PostPosted: Fri Apr 17, 2015 6:17 am    Post subject: problem regarding jar Reply with quote

hi all ,

i have converted my java project into jar file by NetBeans and gave it to my friend . Whenever he click on that jar he is getting exception and then i have tried from cmd to run it then it was showing error like iText.pdf.* missing .

It means in that jar file the external library which i have used in my project is not there . so guys please give me a solution that how i convert my java project along with the external library i have used in my project.

Thanks in advance
Back to top
priya465



Joined: 17 Aug 2017
Posts: 10

PostPosted: Wed Aug 30, 2017 7:42 am    Post subject: Reply with quote

Steps of adding external jar or folder in NetBeans project which I have followed:

1. Go to project properties by right clicking on project.

2. Then click on Libraries tab, You will see Compile, Run, Compile Tests, Run Tests tabs.

3. Click on Compile tab

4. Click on Add JAR/Folder button at right

5. Then browse and select the jar files or folder which you want to include. Included jar files or libraries will show on the following box of Compile tab.

6. Click on OK button.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo