Open In App

How to Add External JAR File to an IntelliJ IDEA Project?

Last Updated : 21 Jun, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

IntelliJ is an integrated development environment(IDE) written in Java. It is used for developing computer software. This IDE is developed by JetBrains and is available as an Apache 2 licensed community edition and a commercial edition.

Please refer to this article step by step guide to install Intellij Idea to installing IntelliJ on your local system. A JAR (Java Archive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file to distribute application software or libraries on the Java platform. In simple words, a JAR file is a file that contains a compressed version of .class files, audio files, image files, or directories. Now we are going to see the step-by-step process for adding an External JAR File To an IntelliJ IDEA Project.

Step by Step Implementation to Add an External JAR File to IntelliJ IDEA

Step 1: Open your installed IntelliJ IDEA Project and go to the File > Project Structure as shown in the image below. 

Step 2: After step 1 Select Modules at the left panel and select the Dependencies tab as shown in the below image. 

Step 3: Now select the + icon and select 1 JARs or Directories option as shown in the below image. 

Step 4: Now select your JAR file or you can select the directories. And click on the OK button as shown in the below image. 

Step 5: Finally after selecting your JAR file click on the OK button as shown in the below image. And you are done.


Next Article
Article Tags :
Practice Tags :

Similar Reads