package com.t4b.test;
import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;
import java.util.Map;
import java.util.Set;
public class SystemInfo {
public static void main(String[] args) {
RuntimeMXBean runtimeBean = ManagementFactory.getRuntimeMXBean();
Map systemProperties = runtimeBean
.getSystemProperties();
Set keys = systemProperties.keySet();
for (String key : keys) {
String value = systemProperties.get(key);
System.out.printf("[%s] = %s.\n", key, value);
}
}
}
Java Runtime Environment Details
Share This
Tags
# Java Miscellaneous
# Technology
Share This
About BunksAllowed
Technology
Labels:
Java Miscellaneous,
Technology
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.