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

Last updated on AUGUST 03, 2016

Applies to:

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

Symptoms

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

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms