My Oracle Support Banner

Java.lang.UnsatisfiedLinkError: No Ocijdbc21 In Java.library.path only with ORDS silent installation (Doc ID 2769657.1)

Last updated on SEPTEMBER 16, 2022

Applies to:

Oracle REST Data Services - Version 20.2 and later
Information in this document applies to any platform.


On : 20.4 version

While installing ORDS with silent mode :

java -jar ords.war install --silent --parameterFile /<folder path>/params/

the following error occurs only with silent installation and not with other options :


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

Exception in thread "main" java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  at java.lang.reflect.Method.invoke(
  at oracle.dbtools.jarcl.Entrypoint.invoke(
  at oracle.dbtools.jarcl.Entrypoint.main(
Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc21 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 oracle.jdbc.driver.OracleDriver.connect(
  at java.sql.DriverManager.getConnection(
  at java.sql.DriverManager.getConnection(
  at oracle.dbtools.installer.config.UserConnectBase.validateBequeathConnect(
  at oracle.dbtools.installer.config.UserConnect.privilegedUserConnect(




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.