My Oracle Support Banner

SQLJ Compiler Fails with Error "no ocijdbc9 in java.library.path" (Doc ID 1460843.1)

Last updated on AUGUST 01, 2023

Applies to:

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


When attempting to compile an SQLJ file with sqlj utility from RDBMS 11.x, the compilation fails with the following error message:

Warning: Unable to perform semantic analysis on connection jdbc:oracle:oci8:@ by user system. Error returned by database is: no ocijdbc9 in java.library.path


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.