CLM 4.6 FeaturePack 3 fails with error Unsupported major.minor version 51.0

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Cloud Lifecycle Management


    COMPONENT:

    Cloud Lifecycle Management


    APPLIES TO:

    BMC Cloud Lifeycycle Management 4.6.x



    PROBLEM:

    While installing CLM 4.6 Feature Pack 3 on the AR server it fails with below error:

    Snippet from clmpatchinstaller_install_log:

    Error occurred while creating InstallationTask: com.bmc.install.product.clmpatchinstaller.CLMPatchInstallerProjectInitializationInstallationTask: com/bmc/install/product/clmpatchinstaller/CLMPatchInstallerProjectInitializationInstallationTask : Unsupported major.minor version 51.0]},
      Throwable=[java.lang.UnsupportedClassVersionError: com/bmc/install/product/clmpatchinstaller/CLMPatchInstallerProjectInitializationInstallationTask : Unsupported major.minor version 51.0
      java.lang.ClassLoader.defineClass1(Native Method)
      java.lang.ClassLoader.defineClass(ClassLoader.java:643)
      java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
      java.net.URLClassLoader.access$000(URLClassLoader.java:73)
      java.net.URLClassLoader$1.run(URLClassLoader.java:212)
      java.security.AccessController.doPrivileged(Native Method)
      java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      java.lang.ClassLoader.loadClass(ClassLoader.java:323)
      sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
      java.lang.ClassLoader.loadClass(ClassLoader.java:268)
      java.lang.Class.forName0(Native Method)
      java.lang.Class.forName(Class.java:191)
      com.bmc.install.product.base.project.runner.ProjectRunner.constructTask(ProjectRunner.java:2231)
      com.bmc.install.product.base.project.runner.ProjectRunner.handleNextProjectTask(ProjectRunner.java:3062)
      com.bmc.install.product.base.project.runner.ProjectRunner.nextSelected(ProjectRunner.java:1430)
      com.bmc.install.product.base.project.runner.ProjectRunner.runCurrentProjectNodes(ProjectRunner.java:2396)
      com.bmc.install.product.base.project.runner.ProjectRunner.runProjectSections(ProjectRunner.java:1833)
      com.bmc.install.product.base.project.runner.ProjectRunner.runProjectRunner(ProjectRunner.java:2055)

      com.bmc.install.product.base.project.runner.ProjectRunner.main(ProjectRunner.java:437)]

    Java 1.8.x is already installed and running Java -version shows:  #java -version

    java version "1.8.0_92". Java(TM) SE Runtime Environment (build 1.8.0_92-b14). Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

     


    CAUSE:

    JAVA environment variables still pointing to an older version


    SOLUTION:

    To resolve:

    Check for any JAVA_HOME or JRE_HOME environment variable set in the server or in the profiles, reconfigure it to point to Java version 1.7 (64 bit) as BMC AR System Server doesn't support Java 1.8.

    Review the ProductRegistry.xml file as well and point it to correct Java version. On Windows machine, review following to capture the existing Java version:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment

    Additional Information:

    Refer System requirements for Windows and System requirements for Linux which summarizes the system requirements for the install planner host, the supporting products and database used by BMC Cloud Lifecycle Management. 

    Change the CLM version in the url for different releases.

    Refer How to Videos - Cloud Lifecycle Management playlist for How-to videos created by support.


    Article Number:

    000117117


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles