System.getenv

Class Overview | Class Members | This Package | All Packages

Syntax

public static String getenv( String name )

Parameters
  • the
    name of the environment variable.
Returns

the value of the variable, or null if the variable is not defined.

Description

Note: getenv() is deprecated.

Gets an environment variable. An environment variable is a system dependent external variable that has a string value.