You are about to report the tutorial shown below for review. Please only report if there is a problem with it.
Thanks.
Get Environment Variables in Java Java / Miscellaneous
In Java 1.5, Sun had decided to "undeprecate" the getEnv() method that provides the functionality to get the value of an environment variable. In addition, Sun has added a new method that allows you to discover all of the environment variables that are defined. This tutorial walks you through using both the old and new methods.