My Oracle Support Banner

Resolving java.lang.UnsatisfiedLinkError With The JDBC OCI Driver (Doc ID 459096.1)

Last updated on FEBRUARY 02, 2021

Applies to:

JDBC - Version to [Release 8.1.7 to 12c]
Information in this document applies to any platform.


A java application using the JDBC OCI driver may typically give the following UnsatisfiedLinkError errors:

java.lang.UnsatisfiedLinkError: no ocijdbcX in java.library.path
(libocijdbcX - X is 8,9,10 etc depending on the version of the JDBC driver)

java.lang.UnsatisfiedLinkError: no ociXXXjdbc in shared library path
(ociXXXjdbc - XXX is 805,806 etc depending on the version of the JDBC 8.0.X release)

java.lang.UnsatisfiedLinkError: /home/instantclient/ /home/instantclient/
Cannot open shared object file: No such file or directory

An unexpected exception occurred: ocijdbcx Not found in java.library.path

java.lang.UnsatisfiedLinkError: oracle/jdbc/driver/T2CConnection.getLibraryVersionNumber()

/lib/ wrong ELF class: ELFCLASS64

/lib/ wrong ELF class: ELFCLASS32




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.