The getEnvVar function returns the value of environment variable from the (OS) environment which must have been set before starting the JVM.
Syntax
sEnvValue = getEnvVar(vname)
Arguments
Specifies the name of the environment variable whose value is required.
Return Value
The value of the specified environment variable, in string form.
Example
Process.username=getEnvVar("username");
Process.path = getEnvVar("path");
|
Copyright © 2014 CA.
All rights reserved.
|
|