Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

eAdd 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.

VariableDescription

MZ_HOME

Example value: /opt/mz

This environment variable specifies where the Image Addedsoftware is to be installed.

Note
titleNote!

The directory must exist and be empty prior to the installation.


JAVA_HOME

Example value: /opt/jdk/jdk1.8.0_121

This environment variable specifies where the JDK is installed.

Note
titleJava Version

You can view the installed JRE/JDK installations by typing the following command inside a terminal window 

/usr/libexec/java_home -V

You can then export it using the following command:
export JAVA_HOME=`/opt/jdk/jdk1.8.0_121` 


PATH

The search path must contain the following directories: $JAVA_HOME/bin:$MZ_HOME/bin

This environment variable specifies the search path.

...

Info
titleExample - Setting Environment Variables


Code Block
themeEclipse
$ export MZ_HOME=/opt/mz
$ export JAVA_HOME=/opt/jdk/jdk1.8.0_121
$ export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH



Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: