Solved

3rd party jars, referenced library issue

Posted on 2013-01-05
5
342 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 500 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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
SHA2 certs for IIS AND Java? 2 121
Running JavaFX on JDeveloper 12C 1 76
project copy paste issue 1 61
Running JavaFX on the Raspberry Pi 27 119
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

679 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