Javac Fails With 'Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main' (Doc ID 1483242.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Java Platform, Standard Edition - Version 5.0 to 5.0 [Release 5.0]
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (64-bit)

Symptoms

The following symptoms were observed.  The errors were easily and consistently reproducible.

(1)  Oracle Application Server 10.1.3.4.0 was run on Java SE 5.0 Update 06.  The customer deployed a J2EE application to an OC4J instance and got the following error message:
 

Cause

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