Last active
May 23, 2017 13:14
-
-
Save plaflamme/818e966f242bc6cfd16748e2affc9f97 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import java.util.Map; | |
public class ListVars { | |
public static void main(String[] args) { | |
Map<String, String> env = System.getenv(); | |
for (String key : env.keySet()) { | |
System.out.println(key + ": " + env.get(key)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment