import java.util.Map.Entry;
import java.util.Properties;
import java.util.Set;
public class Sysdetail {
public static void main(String args[]) {
Properties systemProps = System.getProperties();
Set<Entry<Object, Object>> sets = systemProps.entrySet();
System.out.println("systems properties:");
for(Entry<Object,Object> entry : sets) {
System.out.println("name: " + entry.getKey() + ", value: " + entry.getValue());
}
}
}
sbkindian1 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.