This is an old revision of the document!
Omnidex reserves some environment variables for its own use. Some of required, but most are optional. These variables either point to the location of the software or configure aspects of the software.
OMNIDEX_HOME points to the root directory of the Omnidex server software.
Unix export OMNIDEX_HOME="/omnidex"
Windows set OMNIDEX_HOME=c:\program files\omnidex 5.1
PATH points to the directory where the Omnidex executables reside. This variable is a system variable, and is not Omnidex-specific. The system PATH variable is likely to contain other paths. Be sure not to override the existing setting by appending the Omnidex executable path to the end of the existing setting.
If the PATH is not set, users will either be required to run all Omnidex executables from the directory in which the executable resides or must pass the fully qualified path to the executable.
UNIX export PATH="/omnidex/bin:$PATH"
Windows set PATH="c:\Program Files\Omnidex 5.1\bin";%PATH%
LD_LIBRARY_PATH points to the directory where shared libraries reside. This variable is a system variable, and is not Omnidex-specific. LD_LIBRARY_PATH is only used on UNIX operating systems.
UNIX export LD_LIBRARY_PATH="/omnidex/lib"
TMPDIR points to a directory where Omnidex temporary files are built. This variable is not Omnidex-specific on UNIX, but is not frequently used on Microsoft Windows.
It is recommended that TMPDIR be set to a directory with plenty of available disk space, especially when building Omnidex indexes. It is also recommended that TMPDIR be placed on a separate drive, and preferably a separate disk controller, from the underlying data and the Omnidex index files.
UNIX export TMPDIR="/temp"
Windows set TMPDIR=d:\temp
CLASSPATH points to the directory where the Omnidex.jar file resides and is required for Java development on all platforms. This variable is a system variable, and is not Omnidex-specific. The system CLASSPATH variable is likely to contain other paths. Be sure not to override the existing setting by appending the Omnidex executable path to the end of the existing setting.
Omnidex.jar is located in the bin subdirectory of the Omnidex root directory on the server, and in the lib subdirectory of the Omnidex Client root directory on the client machine.
UNIX export CLASSPATH="/omnidex/bin/Omnidex.jar:$CLASSPATH"
Windows set CLASSPATH="c:\Program Files\Omnidex 5.1\bin\Omnidex.jar";%CLASSPATH%
The OMNIDEX_DEBUG variable controls Omnidex debugging and is described in Omnidex Debugging.
See also: