Secure Global Desktop Administration Guide > Applications, documents and hosts > Environment Variables (--env)
Attribute name | Usage |
---|---|
Environment Variables | In the box, set the environment variables you want, one on each line. Press Return to add new entries. |
Command option | Usage |
---|---|
--env setting... |
Replace setting with an environment variable
setting, of the form VARIABLE=value .
To set more than one variable, use multiple --env arguments. |
This attribute specifies any environment variable settings needed
to run the application. For example, you may need to set
LD_LIBRARY_PATH
to access shared libraries.
You should quote an environment variable setting with a value containing spaces.
Do not set the DISPLAY
variable: the
display is set automatically for each user.
--env LD_LIBRARY_PATH=/usr/lib "MY_VARIABLE=603 1769"
Runs the application with two environment variables set.
Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.