Control-M/Server for UNIX and Microsoft Windows (9.0.00, 9.0.18, 9.0.19 )
To change the JRE package:
Do one of the following:
UNIX: Define an alternative Java home directory with the parameter BMC_JAVA_HOME located in the .cshrc file.
EXAMPLE: setenv BMC_JAVA_HOME /usr/new_JRE
Windows: Define an alternative Java home directory with the parameter BMC_JAVA_HOME in system environment variables.
EXAMPLE: BMC_JAVA_HOME C:\new_JRE
NOTE: (Windows only)If the BMC_JAVA_HOME parameter is defined after an upgrade, then you must delete the defined parameter before downgrading Control-M/Server.
Recycle Control-M/Server.
Control-M/Agent for UNIX and Microsoft Windows (9.0.00, 9.0.18, 9.0.19)
To change the JRE package:
Do one of the following:
Define an alternative Java home directory by adding the parameter BMC_JAVA_HOME and define the <JRE Home path> located in the CONFIG.dat file (UNIX) or in the CONFIG table in the Windows registry (Windows).
For Control-M/Agents version 9.0.20.00and newer > From the CCM, define the AG_JAVA_HOME parameter with the new JRE path, as described below: From the Home tab, select one or more Control-M/Agent components, and in the Definitions group,click System Parameters.
The Control-M/Agent - System Parameters dialog box appears.
NOTE: If you selected multiple Control-M/Agents, parameter changes are applied to all selected Control-M/Agents (Control-M/Agent 9.0.00 and higher).
From the system parameters table, filter for the required parameter from one of the following column headings:
Category
Name
Description
Value
Default Value
Double-click the required parameter.
The Update System Parameter dialog box appears.
In the Value field, change the value of the parameter, as required, and then click Save.
Create the em_env_local.sh file in the $EM_HOME/etc/directory
Define an alternative Java home directory by adding the parameter BMC_JAVA_HOME to the file em_env_local.sh that is located in the $EM_HOME/etc/directory.
Insert the following lines to the file under the line: ############ A D D I T I O N ##############:
BMC_JAVA_HOME={new JRE Path} export BMC_JAVA_HOME CUR_BMC_JAVA_HOME=$BMC_JAVA_HOME export CUR_BMC_JAVA_HOME if [ -z "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="./:/usr/openwin/lib:$EM_HOME/lib:/usr/local/lib:/usr/lib:$CUR_BMC_JAVA_HOME/lib/amd64/server" else LD_LIBRARY_PATH="./:/usr/openwin/lib:$EM_HOME/lib:/usr/local/lib:/usr/lib:$CUR_BMC_JAVA_HOME/lib/amd64/server:${LD_LIBRARY_PATH}" fi if [ -n "${LD_LIBRARY_PATH_64:-""}" ]; then LD_LIBRARY_PATH_64=${LD_LIBRARY_PATH}:${LD_LIBRARY_PATH_64} else LD_LIBRARY_PATH_64=${LD_LIBRARY_PATH} fi export LD_LIBRARY_PATH export LD_LIBRARY_PATH_64
Windows: Do the following:
Create the environment variable BMC_JAVA_HOME and set its value to the location of the new JRE.
Add %BMC_JAVA_HOME%\bin\server to the beginning of your PATH system environment variable.
Copy the following jar files from {Installation CD Image}\Setup_files\3RD\JRE_libs or from <HOME>/ctm_em/JRE/lib/ext to {BMC_JAVA_HOME}\lib\ext: otherwise the GCS (Global Condition Server) will not start.
bc-fips-1.0.1.jar
bcmail-fips-1.0.1.jar
bcpg-fips-1.0.1.jar
bcpkix-fips-1.0.1.jar
Just as info, instead of using the /etc/alternatives/jre use the /usr/lib/jvm/jre/
Recycle Control-M/EM components.
Note: 1. When specifying a new external JRE path, select a soft link rather than a hard path to the JRE in case a newer version becomes available in the future that will obsolete the current version. If the JRE is supported through your system admin then select a soft path that will automatically be repointed when the system JRE is updated. For example, the system support JRE will be referenced through /etc/alternatives/jre soft link.