Skip to content

Instantly share code, notes, and snippets.

@bnadlerjr
Created February 14, 2012 20:15
Show Gist options
  • Save bnadlerjr/1829874 to your computer and use it in GitHub Desktop.
Save bnadlerjr/1829874 to your computer and use it in GitHub Desktop.
java test that will show your environment
@Test
public void dumpEnv() {
for (Map.Entry<String, String> entry : new TreeMap<String, String>(System.getenv()).entrySet()) {
System.out.println(entry);
}
}
@Trevoke
Copy link

Trevoke commented Feb 15, 2012

This was particularly useful to me to figure out what IntelliJ's PATH variable looked like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment