How does a Java process get access to an environment variable (shell variable, etc) in a platform independent way?