Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to place api libraries  RSS feed

 
lajos kamocsay
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm using NetBeans to develop a small application.

I need the JavaMail API, but I don't know where is the appropriate place to store the library's .jar, so that I can later deploy it with the application. (I know how to add the jar library to the project.)

Should I setup a global Java lib folder? Should I copy the library under the project? What's the best practice?

Thanks,
Lajos
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The typical setup for a project has a lib folder or something similar in the project directory structure, where thirdparty jar files are located.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!