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.
- Open your installed IntelliJ IDEA Project and
- Go to the File > Project Structure
- Select Modules at the left panel and select the Dependencies tab.
- Select the + icon and select 1 JARs or Directories option.
- select your JAR file or you can select the directories.
- 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.
Share your thoughts in the comments
Please Login to comment...