Environment Variables and System Properties
All Environment variables and Java System properties for a Grid Library and all dependencies are set each time a task is taken from a particular Service that specified that Grid Library. (They are not cleared after the task is finished.) Environment variables are set via JNI so that they can be used by native libraries or .NET assemblies, and they are also passed into Command Services. Note that environment variables such as PATH and LD_LIBRARY_PATH must not be changed through this mechanism. Rather, library-path and command-path are reserved for manipulating these variables.