How can I get OS's environmental variables from inside java ? System.getProperties() seems to hide a lot. when running with 'java' you could make a shellscript wrapper which passed each var via -D option, but this is not what i want. thanks