简体   繁体   中英

How to fix “no ocijdbc12 in java.libary.path” on Oracle SQL Developer?

I try to access DB server by Oracle SQL Developer then I found following display below.

在此处输入图像描述

I try to fixed on other posts already but it didn't work.

There are two ways to fix this:

  1. don't make a connection request that is trying to pull in the OCI library - in other words, stay with JDBC THIN
  2. configure SQL Developer such that your Oracle Client can be loaded for a THICK (OCI) connection

Option 1: In your connection properties, if you're using TNS, use a Network Alias, NOT a Connect Identifier.

Otherwise, as long as you do not have 'Use OCI' enabled in your advanced connection properties or Advanced Database Preferences, you should have a THIN connection.

Option 2: Go into the preferences and correctly configure the Oracle Client section of the Advanced Database page.

在此处输入图像描述

I talk about this in more detail here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM