Print out all of the System Properties

Code:
import java.util.*;
 
public class ListProperties {
   public static void main(String[] args) {
      Properties props = System.getProperties();
      props.list(System.out);
   }
}

Output:
$ java ListProperties
-- listing properties --
java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=/jdk7/jre/lib/amd64
java.vm.version=24.45-b08
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=:
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=US
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/tmp/src
java.runtime.version=1.7.0_45-b34
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/jdk7/jre/lib/endorsed
os.arch=amd64
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Oracle Corporation
os.name=Linux
sun.jnu.encoding=UTF-8
java.library.path=/usr/java/packages/lib/amd64:/usr/lib...
java.specification.name=Java Platform API Specification
java.class.version=51.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=3.2.0-67-generic
user.home=/home/dennis
user.timezone=
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=UTF-8
java.specification.version=1.7
user.name=dennis
java.class.path=.
java.vm.specification.version=1.7
sun.arch.data.model=64
java.home=/jdk7/jre
sun.java.command=ListProperties
java.specification.vendor=Oracle Corporation
user.language=en
awt.toolkit=sun.awt.X11.XToolkit
java.vm.info=mixed mode
java.version=1.7.0_45
java.ext.dirs=/jdk7/jre/lib/ext:/usr/java/packages/...
sun.boot.class.path=/jdk7/jre/lib/resources.jar:/jdk7/jre...
java.vendor=Oracle Corporation
file.separator=/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.isalist=