Created
November 24, 2013 08:02
-
-
Save sankars/7624629 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.Properties; | |
| public class PrintSystemProperties{ | |
| public static void main(String[] args) { | |
| Properties prop = System.getProperties(); | |
| for( String name : prop.stringPropertyNames()) | |
| { | |
| System.out.println( name + " : " + prop.getProperty(name)) ; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment