简体   繁体   中英

Referencing Jars

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:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM