Reputation: 15
I'm knew to the stackoverflow community so forgive me if I'm doing this wrong.
I have a java project that I'm building [using itellij], where I am using an API with a jar I downloaded. What is the best way to add the jar to the project so a user (or another programmer) can just open it and not have to download the jar? Or if I was to deploy the program, how would I include the jar so it could be run with the necessary jars? Currently I have made a separate folder named jars and load it from there.
Upvotes: 1
Views: 79
Reputation: 1080
You can use maven for solve these problems.
See this tutorial, if you are interested in maven: http://www.mkyong.com/maven/how-to-create-a-java-project-with-maven/
Upvotes: 4