[JAVA] Add an external jar file in your IntelliJ project.

things to do.

Add External Libraries for IntelliJ project. I've met a lot of articles doing the same thing in Eclipse, but not so much in IntelliJ, so I'll leave it as a reminder.

outline

Environment: Ubuntu 18.04

  1. This time, add ojdbc8.jar in / opt / oracle / instantclient_18_3.
  2. Add to IntelliJ External Libraries.

Try.

1. Select File-> Project Structure

メニュー_006.png

2. Select Modules-> Dependencies.

Project Structure_007.png

3. Click the + sign to the right of scope.

Choices are displayed.

4. Select Jars or director ues ...

メニュー_008.png

5. Select /opt/oracle/instantclient/18_3/ojdbc8.jar.

Attach Files or Directories_009.png

Press OK.

5. Check External Libraries

範囲を選択_012.png

was.

Recommended Posts

Add an external jar file in your IntelliJ project.
How to add jar file in ScalaIDE
Add jar file obtained from Maven to IntelliJ
Set up Gradle multi-project in IntelliJ to build JAR file
Add a time stamp to the JAR file name in Gradle
Include image resources in jar file
Setting project environment variables in intelliJ
Run an external process in Java
How to read log4j configuration file in Java project summarized in jar file Memo
When calling println etc. from an external Java class file in Processing
Launch (old) Spring Boot project in IntelliJ
Create Java Spring Boot project in IntelliJ
Add .gitignore when creating a project in Xcode
Use static analysis tools in your Gradle project
Add an item when logging in with devise
Add a project in any folder with Gradle
How to build an executable jar in Maven
Add packages to your project with Swift PM