
Steps for adding external jars in IntelliJ IDEA:
- Click File from the toolbar
- Select Project Structure option (CTRL + SHIFT + ALT + S on Windows/Linux, ⌘ + ; on Mac OS X)
- Select Modules at the left panel
- Select Dependencies tab
- Select + icon
- Select 1 JARs or directories option

Steps for adding external jars in IntelliJ IDEA:
- Click File from the toolbar
- Select Project Structure option (CTRL + SHIFT + ALT + S on Windows/Linux, ⌘ + ; on Mac OS X)
- Select Modules at the left panel
- Select Dependencies tab
- Select + icon
- Select 1 JARs or directories option
IntelliJ IDEA 15 & 2016
File > Project Structure...

or press Ctrl + Alt + Shift + S
Project Settings > Modules > Dependencies > "+" sign > JARs or directories...

Select the jar file and click on OK, then click on another OK button to confirm


You can view the jar file in the "External Libraries" folder

How do I put .jar files directly into my project rather than using them as external libraries?
java - Creating a jar from a maven project in intellij - Stack Overflow
Use Jar as intelliJ/Maven Dependency - Stack Overflow
Problem packaging Maven project into Jar (IntelliJ)
Videos
I would just like my project to have no external dependencies, and am finding Maven very frustrating to use. Edit: JavaFX
You should build you project using IDEA's Maven Projects view.
View -> Tool Windows -> Maven Projects
or open it from left bottom corner menu:

And then build your project with maven goals - i.e. package:

If packaging is set to jar in pom.xml, you will get a jar in target dir.
Go to the maven project and double click clean and package.
For just do following:
