1

When making a new java project with intellij, I cannot find any option for adding external libraries. The only way I have found is to make a lib folder after making the project and putting the jar files there, but that involves copying and pasting. Is there any other way to do this?

1 Answers1

2

In the File>Project Structure (Ctrl+Alt+Shift+S) there is a tab named libraries -> Click on + -> Libraries

Also you can create a project in which the dependencies are managed by Gradle or Maven. Depending on the library you want to import, there use to be a section on the website of each library dedicated to guiding how to import in Maven or Gradle.

anto004
  • 287
  • 2
  • 6
Hawk
  • 2,042
  • 8
  • 16