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
Was this topic helpful?
Document Information
Modified date:
10 May 2022
UID
swg21883235