My Oracle Support Banner

Troubleshooting Exception Unsupported major.minor Version When Using a Custom Class File (Doc ID 1504210.1)

Last updated on MAY 25, 2024

Applies to:

Oracle E-Business Suite Technology Stack - Version 11.5.0 to 11.5.10.2 [Release 11.5 to 11.5.10]
Oracle E-Business Suite Technology Stack - Version 12.0 to 12.0.6 [Release 12.0]
Information in this document applies to any platform.

Symptoms

Calling a non-seeded class in E-Business Suite, for example an OA Framework extension or debug class, raises the the following error on run-time

oracle.classloader.util.AnnotatedClassFormatError: <reference to class> : Unsupported major.minor version <yy>.0

or

This class was compiled for a newer version of the JRE. Expected version <xx>.0, found <yy>.0

The <xx> and <yy> are integers in the range of 46 to 51.

 The compilation of the class using javac was successful and running the class using the Java environment it was compiled with does not raise this exception

Changes

 Implementation of new or new compiled version of a non-seeded class in E-Business Suite

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!


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