java.lang.UnsatisfiedLinkError: Can't find library ocijdbc9 (libocijdbc9.a or .so) in java.library.path java.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/dba/oracode/lib:/usr/lib

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

Solutions on the web

via Oracle Community by 515776, 1 year ago
Can't find library ocijdbc9 (libocijdbc9.a or .so) in java.library.path java.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/dba/oracode/lib:/usr/lib
via oracle.com by Unknown author, 2 years ago
via Oracle Community by 480515, 1 year ago
via Oracle Community by 147667, 1 year ago
no ocijdbc9 in java.library.path
via Oracle Community by 3004, 1 year ago
no ocijdbc8 in java.library.path
via Oracle Community by 3004, 1 year ago
no ocijdbc8 in java.library.path
java.lang.UnsatisfiedLinkError: Can't find library ocijdbc9 (libocijdbc9.a or .so) in java.library.path java.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/dba/oracode/lib:/usr/lib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1881)
at java.lang.Runtime.loadLibrary0(Runtime.java:805)
at java.lang.System.loadLibrary(System.java:883)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:267)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:368)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:549)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:349)
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:187)
at undefined.OracleJdbcTest.main(OracleJdbcTest.java:28)

Users with the same issue

Once, 1 month ago
6 times, 3 months ago
15 times, 10 months ago
9 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.