Installing Control-M server Fix Packs result in error message: Unsupported major.minor version 52.0

Version 1
    Share This:

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


    PRODUCT:

    Control-M/Server for UNIX and Microsoft Windows


    COMPONENT:

    Control-M/Server for UNIX and Microsoft Windows


    APPLIES TO:

    All Control-M server versions UNIX ONLY



    PROBLEM:

     

    When trying to install Fix Packs in the Control-M server environment;
    You may encounter this error message below. This is found in the Control-M server
    p_ctmce.stdout.*.logs files located in $HOME/ctm_server/proclog:

    ------
    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/bmc/ctms/ctmce/CtmCe : Unsupported major.minor version 52.0

    at java.lang.ClassLoader.defineClass1(Native Method)
    -----

     


    CAUSE:

    Control-M server Java home environmental variable not pointing to correct resource.


    SOLUTION:

    In Control-M server version 8.0.00 Fix Pack 2 and above, there's an added option to define environment variable with the name "BMC_JAVA_HOME" (just on UNIX) ,
    Control-M/Server can use another java run time instead of its embedded one.


    1. Back up the .cshrc file found in the Control-M server user account home directory.

    2. Set the environment variable BMC_JAVA_HOME in .cshrc, and point to the directory where the new java binary exist. You will also need to make sure that the new java version uses the correct platform according to your platform's Control-M environment (
     32 or 64 bit).

    For example: 
    setenv BMC_JAVA_HOME /usr/java/jdk1.7.x_xx/bin


    3. Save the file and then
    logout and login from the shell session.
    Reinstall the Fix Pack installation.


     


    Article Number:

    000140278


    Article Type:

    Solutions to a Product Problem



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