Setting Environment Variables for Execution Container
Add the following environment variables into a login script for the user mzadmin, ensuring the variables are always used. The example values will be used later on in the installation parameters file; install.xml
.
MZ_HOME Example value: This environment variable specifies where the software is to be installed. Note! The directory must exist and be empty prior to the installation. Note! You should use an absolute path instead of a symlink for the MZ_HOME directory to avoid any issue during installation or upgrade. JAVA_HOME Example value: This environment variable specifies where the JDK is installed. For example: PATH The search path must contain the following directories: This environment variable specifies the search path. Example - Setting Environment VariablesVariable Description /opt/mz
/opt/jdk/
jdk-17.0.2
/opt/jdk-<interim.update.patch>
$JAVA_HOME/bin:$MZ_HOME/bin
$ export MZ_HOME=/opt/mz
$ export JAVA_HOME=/opt/jdk/jdk-17.0.2
$ export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH