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

Last updated on OCTOBER 04, 2016

Applies to:

Oracle Applications Technology Stack - Version 11.5.0 to 11.5.10.2 [Release 11.5 to 11.5.10]
Oracle Applications 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

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