java.lang.ClassNotFoundException: When Running SQLJ

(Doc ID 1455392.1)

Last updated on MARCH 08, 2017

Applies to:

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


On : version, Java with Embedded SQL.

After installation of SQLJ, cheching its version with 'sqlj -version -long', or running a program, fails with:

Exception in thread "main" java.lang.NoClassDefFoundError: sqlj/tools/Sqlj
Caused by: java.lang.ClassNotFoundException:
Could not find the main class: Program will exit.


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