Reading Environment Vaiables in Java
The following code snippet will read environment variables in Java.
With a String argument, getenv returns the value of the specified variable. If the variable is not defined, getenv returns null.
Published
21 June 2012