Smarts: "JAVA EXCEPTION...Unsupported major.minor version XX.x" seen in Smarts domain log file
search cancel

Smarts: "JAVA EXCEPTION...Unsupported major.minor version XX.x" seen in Smarts domain log file

book

Article ID: 331951

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

The following error is seen in the Smarts IP, Smarts SAM, or Smarts Server Manager domain log file:

JAVA-EXCEPTION-While invoking "JNI_FindClass", with reason: "com/emc/cmp/dmt/logger/JI_JNILogger : Unsupported major.minor version 51.0" and stack trace:

Environment

VMware Smart Assurance - SMARTS

Cause

The above error means the system is trying to load a java "class" file that was compiled with a newer version of Java than is being used to load the file. The version numbers shown below list the version of the JRE that the class file version compatible with. The reported JRE versions and major compatible class file numbers are as follows:

  • J2SE 8 = 52,
  • J2SE 7 = 51,
  • J2SE 6.0 = 50,
  • J2SE 5.0 = 49,
  • JDK 1.4 = 48,
  • JDK 1.3 = 47,
  • JDK 1.2 = 46,
  • JDK 1.1 = 45

Resolution

Ensure that SM_JAVAHOME and SM_JDK_HOME point to the correct JRE version. You can confirm the version of the Java Runtime Environment used by your Smarts installation by running the "java version" command from the following Smarts Installation directory:

<Smarts Product Dir>/jre/bin