IBM Support

WAS 8.5.5 JDK and Sterling OMS 9.4 JDK are different versions

Troubleshooting


Problem

WAS 8.5.5 may come with Java 1.6 enabled by default, depending on WAS version deployed. Sterling Order Management 9.4 is compiled against java 1.7. So when deploying the EAR a 'bad major version' or 'java major minor version mismatch' error may be thrown.

Symptom

At time of deployment a java.lang.UnsupportedClassVersionError error can be seen in installation logs.

Cause

Features of java 7 against which Sterling Order Management 9.4 is compiled against, may not be available on java 6.

Environment

Sterling Order management 9.4 deployment.

Diagnosing The Problem

Deployment fails with java.lang.UnsupportedClassVersionError.

Resolving The Problem

There is a command in Websphere 8.5.x that allows selection of SDK, see links below. Use this to force WAS to use java 7

List available sdk's with:
./IBM/WebSphere/AppServer/bin/managesdk.sh
-listAvailable

Change WAS SDK with, for example:
./IBM/WebSphere/AppServer/bin/managesdk.sh -enableProfile -profileName
AppSrv01 -sdkname 1.7_64 -enableServers

Related Information

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Installation","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
10 May 2022

UID

swg21883235