My Oracle Support Banner

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

Last updated on NOVEMBER 06, 2018

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)


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

(1)  Oracle Application Server 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:


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.