My Oracle Support Banner

"Exception In Thread Java.lang.UnsatisfiedLinkError: No Ocijdbc12 In Java.library.path" When Running "ces_setup.ces" (Doc ID 2634684.1)

Last updated on AUGUST 05, 2022

Applies to:

Oracle Utilities Network Management System - Version and later
Oracle Network Management for Utilities - DMS - Version and later
Information in this document applies to any platform.


On : version, Installation

ces_setup.ces Exception in thread java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path

Running ces_setup.ces to upgrade environment from to, the setup stops with this error:

Searching for new or updated migrations...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path
  at java.lang.ClassLoader.loadLibrary(
  at java.lang.Runtime.loadLibrary0(
  at java.lang.System.loadLibrary(
  at oracle.jdbc.driver.T2CConnection$
  at Method)
  at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(
  at oracle.jdbc.driver.T2CConnection.logon(
  at oracle.jdbc.driver.PhysicalConnection.connect(
  at oracle.jdbc.driver.T2CDriverExtension.getConnection(
  at oracle.jdbc.driver.OracleDriver.connect(
  at java.sql.DriverManager.getConnection(
  at java.sql.DriverManager.getConnection(
  at -before failed

ERROR ces_setup.ces terminated

Customer has ORACLE_HOME set to /oracle/product/
( In /etc/oratab, ORACLE_PATH was specified to be /oracle/product/ )

CLASSPATH was set to $ORACLE_HOME/jdbc/lib/ojdbc6.jar

The file, $CES_HOME/templates/nmsrc.template, had this line:




Customer installed the patch bundle.  (They were previously at


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.