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

1

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
  • 227
  • 1
  • 6
Hawk
  • 1,972
  • 7
  • 16