The IntelliJ Idea is my favorite IDE of all time. It has got all the nifty features with support for all Java’s features that anyone could dream of.
But, being this feature packed also comes with a lot of issues. Especially if you are a beginner.
For instance, if you want to add an external library to your Java project, how’d you go about doing that in IntelliJ Idea?
There is no one single menu for that. Instead, it takes a series of steps which allow you to add external libraries to your projects. Here’s how to do just that.
Add External Libraries to IntelliJ Idea
- While your project is opened, press Ctrl + Alt + Shift + S to open the Project structure.
- On the left-pane, click on Libraries. After that, click on the small + button on the screen.
- Select Java and browse the
.jarfile for the library. Select it and press OK.
That’s it. Now, you can use all the external library features in your Java project in IntelliJ Idea IDE.