Skip to content

Instantly share code, notes, and snippets.

@jinahya
Last active March 26, 2019 07:20
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/c52810ee9d06e8b45560e67996714114 to your computer and use it in GitHub Desktop.
Save jinahya/c52810ee9d06e8b45560e67996714114 to your computer and use it in GitHub Desktop.
Prints result of System.getProperties()
public class SystemProperties {
public static void main(final String[] args) {
System.getProperties().forEach((k, v) -> System.out.printf("%s: %s\n", k, v));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment