Created
February 14, 2012 20:15
-
-
Save bnadlerjr/1829874 to your computer and use it in GitHub Desktop.
java test that will show your environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void dumpEnv() { | |
for (Map.Entry<String, String> entry : new TreeMap<String, String>(System.getenv()).entrySet()) { | |
System.out.println(entry); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was particularly useful to me to figure out what IntelliJ's PATH variable looked like.