JDK does not provide a way to get environment variables, because they are not a concept common to all platforms. Instead, it provides java.util.Properties . One way to get environment variables into your Java program is to set Java property values to be equal to the environment variable values on the java command line; use the syntax for your platform. For example: - <code> java -DmyProp=$MY_PROP myClass java -DmyProp=%MY_PROP% myClass </code> There are standard Java properties for some things you may want to get, such as working directory, home directory, OS name etc. See System.getProperties(). Alternatively, if you really must access actual environment variables, you can make a teeny C program to get their values, and call this via JNI. I suspect that a search on the Web will probably reveal several "how to" documents on this subject, as it must be quite a common requirement.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.