Open In App
Related Articles

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

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
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 install IntelliJ in 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. So in this article, we are going to see the step-by-step process for adding an  External JAR File To an IntelliJ IDEA Project.

Procedure:

  1. Open your installed IntelliJ IDEA Project and
  2. Go to the File > Project Structure
  3. Select Modules at the left panel and select the Dependencies tab.
  4. Select the + icon and select 1 JARs or Directories option.
  5. select your JAR file or you can select the directories.
  6. Click on the OK button

Step by Step Implementation

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

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.


Last Updated : 02 Feb, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads