My Oracle Support Banner

"Could Not Initialize Class Oracle.jdbc.datasource.impl.OracleDataSource" occurs when using SQLcl 23.1 or later (Doc ID 2953947.1)

Last updated on FEBRUARY 05, 2024

Applies to:

Oracle SQLcl - Version 23.1 and later
Information in this document applies to any platform.

Symptoms

If 19c Database/Client defines as ORACLE_HOME in the session which SQLcl runs, "Could not initialize class oracle.jdbc.datasource.impl.OracleDataSource" occurs when connecting to the database using SQLcl 23.1 or later.

Example:

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.