Java System.getProperties() Example

Chapter: System Last Updated: 20-04-2016 15:23:38 UTC

Program:

            /* ............... START ............... */
                
import java.util.Properties;

public class JavaSystemPropertiesExample {
	public static void main(String[] args) {
		
		Properties p = System.getProperties();
		p.list(System.out);
	}
}

                /* ............... END ............... */
        

Notes:

  • The java.lang.System.getProperties() method determines the current system properties.

Tags

System.getProperties(), Java, System Class

Similar Programs Chapter Last Updated
Java Program To Run Application System 24-06-2017
Java Classpath Using System Class System 20-04-2016
Java Specification Version Using System Class System 03-08-2016
Operating System Using System Class In Java System 06-04-2016

1