views:

35

answers:

2

Hi,

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

+1  A: 

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.

duffymo
+2  A: 

Please refer to IDEA documentation, start reading from the following topics:

CrazyCoder