xxxxxxxxxx
// Get the system's current time in milliseconds
long currentTimeMillis = System.currentTimeMillis();
// Get the system properties
Properties systemProperties = System.getProperties();
// Get the system's current operating system name
String osName = System.getProperty("os.name");
// Print the current time
System.out.println("Current Time: " + currentTimeMillis);
// Print the system properties
systemProperties.list(System.out);
// Print the operating system name
System.out.println("Operating System: " + osName);