"Unsupported major.minor version 49.0" After Configuring Oracle Container for J2EE 10.1.3 to se JDK 1.4 (Doc ID 967400.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.1.0 and later
Information in this document applies to any platform.

Symptoms

Deploying a J2EE application to an OC4J container in Oracle Application Server 10.1.3.
The OC4J has been configured to use JDK 1.4 instead of the default JDK 1.5 in Oracle Application Server 10.1.3, by setting java-bin option in opmn.xml.
When running the application, the following error is received in log.xml file:

Internal error raised tyring to instantiate web-application: Node.
Administration defined in web site OC4J 10g (10.1.3) Default Web Site.
Node/Web/Administration/ApplicationWatch (Unsupported major.minor version 49.0)

Invalid class: Node.Web.Administration.ApplicationWatch
Loader: Node.Administration.web.Node.Administration:0.0.0
Code-Source: /C:/product/10.1.3.1/soa1/j2ee/node/applications/Node.
Administration/Node.Administration/WEB-INF/lib/Node.jar
Configuration: WEB-INF/lib/ directory in C:\product\10.1.3.
1\soa1\j2ee\node\applications\Node.Administration\Node.Administration\WEB-
INF\lib

Dependent class: com.evermind.server.http.HttpApplication
Loader: oc4j:10.1.3
Code-Source: /C:/product/10.1.3.1/soa1/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3.
1\soa1\j2ee\home\oc4j.jar

This class was compiled for a newer version of the JRE. Expected version 48.0, found 49.0
.

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