Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

3rd party jars, referenced library issue

Posted on 2013-01-05
5
Medium Priority
?
372 Views
Last Modified: 2013-01-10
Hi there;

I have used several 3rd party jar libraries in my project and I want to have those in my project folder while sharing with a friend.

When I check my project folder, I don't see those jar files. How can I include those jar files in eclipse so that my friend can run the project without any changes?

Regards.

P.S. For clarification, I want to share the "code and jars".
0
Comment
Question by:jazzIIIlove
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:kusmal
ID: 38746825
have you tried it with maven dependency management?


usually eclipse takes the jars with the project, but sometimes its possible that you have to add them manually.


if you use maven as dependency management tool you can save time by just hitting a button "Update Dependencies"...
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 38746873
Hi,

How can i use maven dependency management? Where is it? In eclipse?

Regards.
0
 
LVL 1

Assisted Solution

by:kusmal
kusmal earned 2000 total points
ID: 38747078
either by searching for it in the eclipse marketplace or see instructions on the site:

http://maven.apache.org/guides/mini/guide-ide-eclipse.html
0
 
LVL 12

Accepted Solution

by:
jazzIIIlove earned 0 total points
ID: 38747593
Hi;

OK thanks but i created a lib folder and put the 3rd party jars in that folder and add jars to build path from that lib folder.

Regards.
0
 
LVL 12

Author Closing Comment

by:jazzIIIlove
ID: 38762308
Adding an internal folder solves the problem.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question