My Oracle Support Banner

Using Instant Client with OCI/JDBC : UnsatisfiedLinkError Trying To Connect (Doc ID 337717.1)

Last updated on FEBRUARY 05, 2020

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Getting an .UnsatisfiedLinkError when trying to connect using the OCI/JDBC connection using the Instant Client. The instant client is being installed into directory /home/instantclient.
After setting the LD_LIBRARY_PATH to /home/instantclient and the CLASSPATH to /home/instantclient/ojdbc14.jar  correctly, the following error is thrown:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/instantclient/ /home/instantclient/
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(
at oracle.jdbc.driver.T2CConnection.logon(
at oracle.jdbc.driver.PhysicalConnection.<init>(
at oracle.jdbc.driver.T2CConnection.<init>(
at oracle.jdbc.driver.T2CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at LinuxJDBCTest.getConnection(
at LinuxJDBCTest.main(




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.