This procedure describes how to change the JRE package from the default installation to a custom package in Control-M/EM.
You can install the supported JAVA Runtime Environment and replace the one that is installed by default. BMC verifies major releases of JRE provided by Oracle and Azul only if you have a third party support agreements. The use of JRE is supported only where the major release version is the same as the tested version.
To change the JRE package:
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
Parent Topic |