Typical Environment Variables

This topic lists the typical environment variables specified in the [matrix] section of enovia.ini.

Variable Description
MATRIXHOME The location of the connection file (MATRIX-R file). After the installation is complete and Matrix is operational, the connection filemanages where the database resides.
MATRIXINSTALL The root installation directory for ENOVIA Studio Modeling Platform or ENOVIA Live Collaboration Server, as defined in the installation procedure. For example, C:\enoviaVERSION\studio\ or C:\enoviaVERSION\server\.
ENOVIAINIDIR A Windows environment variable that specifies the location of the enovia.ini file. For example:
ENOVIAINIDIR=C:\enoviaVERSION\server\win_b64\code\bin. 

For details, see Setting the Location of the enovia.ini File on Windows.

PIXMAPPATH Where Matrix looks for icons as images. If you have a library of icons to use with Matrix, you can append the location of your icons to this value.
COLORPATH The path to the RGB.txt file which defines the color mixtures to the system.
MATRIXPATH The execution directory, as defined in the installation procedure. For example,
MATRIXINSTALL\PLATFORM\code\bin\
TCL_LIBRARY Sets the path to the Tcl script, init.tcl, which initializes Tcl for use with MQL.
TK_LIBRARY Sets the path to the Tcl script tk.tcl, which initializes Tk for use with MQL.
TMPDIR A directory that ENOVIA Live Collaboration uses for temporary files. Because each operating system also has its own environment setting for this use, you should set TMPDIR to the same value as the TMP operating system variable for predictable results. Once a transaction is completed, the files are removed from this directory. If space is limited on the disk where ENOVIA Live Collaboration is installed, you may want to change this to point to a disk with more free space.

On Windows, if TMPDIR is not set, it defaults to the value of the TEMP environment variable setting. If one does not exist or is invalid, TMPDIR is set to the same directory as MATRIXINSTALL. On UNIX, there is no default setting for TMPDIR but the ENOVIA Live Collaboration kernel uses /usr/tmp/ if the variable is not set.

MX_JVM_DIR The location of the Java Virtual Machine.
MX_JDK_DIR The location of the Java Development Kit.
MX_JAVAC The location of the javac compiler.
MX_CLASSPATH Contains the path to the Java compiler that is specified during installation of ENOVIA Live Collaboration. It is used by the ENOVIA Studio Modeling Platform and the ENOVIA Live Collaboration Server service when starting the Java Virtual Machine (JVM) for both compiling and executing JPOs. With the ENOVIA Studio Modeling Platform, if you are running JPOs that are provided with ENOVIA Business Process Services or other ENOVIA products, MX_CLASSPATH must include the path to the ENOVIA Business Process Services jar files.

ComputedClassPath is a routine called by rmireg in RMI non-RIP setups that builds the classpath by combining the environment classpath + MX_CLASSPATH + all .jar files and all .zip files in each directory listed in MX_CLASSPATH. On Windows, if the Computed Class Path exceeds 2048 bytes, errors will occur in the application server or ENOVIA Live Collaboration Server service. If classpath errors occur due to this Windows limitation, you should remove any references to unnecessary jar or zip files in MX_CLASSPATH.

MX_ARCH The Dassault Systèmes-defined architecture value (one of win_b64, win_b64, aix_a64, linux_a64, linux_b64, solaris_a64, or solaris_b64). This variable was previously named ARCH. It is automatically set in the rmireg.sh script.