Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQLcl 23.1 says "Could not initialize class"

Erik van RoonApr 8 2023

Hi,

I just installed SQLcl 23.1.
When I run it, it complains about “Could not initialize class oracle.jdbc.datasource.impl.OracleDataSource”
If I start it with -nolog it starts up without problems, but as soon as I perform a connect I get that message again.

Running 22.4 (or any other previous version) on the same machine against the same schema in the same database does not give me any trouble.

Could this have anything to do with me using GraalVM? I wouldn't expect that to be a problem (and so far it never was), but still.

Anybody any other thoughts?

Running 23.1:

Running 22.4:

This post has been answered by thatJeffSmith-Oracle on Apr 10 2023
Jump to Answer
Comments
Post Details
Added on Apr 8 2023
25 comments
4,743 views