IBM Support

Runtime Java error: Unsupported major.minor - UnsupportedClassVersionError

Troubleshooting


Problem

You compile and successfully test a Java™ program that uses the IBM MQ client.
You copy that program into another host and you get the following runtime error:
(Unsupported major.minor version 52.0)
.
Such as:
C:\> java -jar traceanalyzer.jar The java class could not be loaded. java.lang.UnsupportedClassVersionError: com/ibm/protrace/gui/MainApplication (Unsupported major.minor version 52.0)

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"","label":"Platform Independent"}],"Version":"All Versions"}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM MQ

Software version:
All Versions

Document number:
157337

Modified date:
28 April 2025

UID

swg21496820

Manage My Notification Subscriptions