My Oracle Support Banner

Oracle SQLJ (translator) Not Working With Java 8 (Doc ID 2353832.1)

Last updated on MARCH 28, 2023

Applies to:

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

Symptoms

Oracle SQLJ (translator) fails with next exception at runtime:

Exception in thread "main" java.lang.NoClassDefFoundError: sun/io/CharToByteConverter
at sqlj.util.io.OracleOutputStreamWriter.(OracleOutputStreamWriter.java:82)

 

Changes

 Java was upgraded to JDK 1.8 

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.