User guide
FLEXnet Licensing End User Guide 125
Appendix DFLEXnet Licensing Environment VariablesD
Environment variables are not required in order to use FLEXenabled applications. Environment
variables are normally used for debugging or for changing license default location.
How to Set Environment Variables
FLEXnet Licensing environment variables are set in two different ways:
• In the process’ environment
• In the registry (Windows v6.0+) or in
$HOME/.flexlmrc (UNIX v7.0+), which functions
like the registry for FLEXnet Licensing on UNIX.
Registry
On Windows, the FLEXnet Licensing registry location is:
HKEY_LOCAL_MACHINE\Software\FLEXlm License Manager
On UNIX, the equivalent information is stored in $HOME/.flexlmrc. In this file, the syntax
is
variable=value.
Precedence
If the variable is LM_LICENSE_FILE or VENDOR_LICENSE_FILE, then both the environment
and the registry are used, with the environment used first, and the registry appended to the path.
If it’s a different variable, then if the environment set, only that is used, otherwise the registry
is used. That is, the registry is only used if the environment is not set.
Environment Variables
Variable Definition
FLEXLM_BATCH
Windows only: prevents interactive pop-ups from
appearing. Set to 1 if a batch application. (Version 7.0+
clients)