I am learning Java and using IntelliJ IDEA. How can I add a 开发者_开发知识库reference to an external jar in my project (like referencing a dll in Visual Studio)?
Thanks
Please refer to IDEA documentation, start reading from the following topics:
- Library
- Configuring Project Libraries
- Configuring Module Dependencies and Libraries
Click on the "Project Structure" button to the right of the wrench (or Ctrl-Alt-Shift-S).
Choose "Libraries" on the left.
Click the plus sign to add a JAR or directory as a library.
Click on "Artifacts" on the left to make sure the library ends up in the right place for your deployment.
精彩评论