Skip to content

Instantly share code, notes, and snippets.

@jinahya
Last active March 26, 2019 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jinahya/69aedcb42530bb595808fd9c40a429ab to your computer and use it in GitHub Desktop.
Save jinahya/69aedcb42530bb595808fd9c40a429ab to your computer and use it in GitHub Desktop.
Prints results of System.getenv()
public class SystemEnv {
public static void main(final String... args) {
System.getenv().entrySet().forEach(e -> System.out.printf("%s: %s\n", e.getKey(), e.getValue()));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment