Thursday, July 4, 2024
HomeLanguagesJavaHow to Add External JAR File to an IntelliJ IDEA Project?

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

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.

Nokonwaba Nkukhwana
Experience as a skilled Java developer and proven expertise in using tools and technical developments to drive improvements throughout a entire software development life cycle. I have extensive industry and full life cycle experience in a java based environment, along with exceptional analytical, design and problem solving capabilities combined with excellent communication skills and ability to work alongside teams to define and refine new functionality. Currently working in springboot projects(microservices). Considering the fact that change is good, I am always keen to new challenges and growth to sharpen my skills.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments