getenv() public String getenv(String name) This method accepts the Operating System environment variable name and returns its value. If a non-existing variable name is given, the method returns an empty string. Figure 1. Examples for getenv() $HMLSystemUtil.getenv('Temp')$