My Oracle Support Banner

Compilation of Java Source Code Fails with "ORA-29536: Badly Formed Source" (Doc ID 2478822.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

Compilation of a java source code fails with "ORA-29536: Badly Formed Source" error. The issue can be illustrated using the following sample code.

Changes

The code works fine as long as no non-ascii character is used in it. The introduction of the character 'Ç' makes the compilation fail with "ORA-29536: Badly Formed Source" error.

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.