java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path with WebLogic 12c (Doc ID 1914466.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 to 12.1.2.0.0 [Release 12c]
JDBC - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

WebLogic Server 12c fails to connect to Oracle Database 12.1.2.0.0 using JDBC OCI driver with the following error:

java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path

The classpath points to 12c ojdbcX.jar file and the PATH points to 12c OCI libraries.
JDK, OCI, ojdbcX.jar and database versions are compatible.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms