System. Out. println ("Java version:" + system. getproperty ("Java. Version"); // Java version
System. Out. println ("Java provider name:" + system. getproperty ("Java. Vendor"); // Java provider name
System. Out. println ("Java provider Website:" + system. getproperty ("Java. Vendor. url"); // Java provider website
System. Out. println ("JRE Directory:" + system. getproperty ("Java. Home"); // Java, oh, it should be the JRE directory
System. Out. println ("Java Virtual Machine Specification Version:" + system. getproperty ("Java. VM. Specification. Version"); // Java Virtual Machine Specification Version
System. Out. println ("Java VM specification provider:" + system. getproperty ("Java. VM. Specification. Vendor"); // Java VM specification provider
System. Out. println ("Java VM specification name:" + system. getproperty ("Java. VM. Specification. Name"); // Java VM specification name
System. Out. println ("Java Virtual Machine version:" + system. getproperty ("Java. VM. Version"); // Java Virtual Machine version
System. Out. println ("Java VM provider:" + system. getproperty ("Java. VM. Vendor"); // Java VM provider
System. Out. println ("Java Virtual Machine name:" + system. getproperty ("Java. VM. Name"); // Java Virtual Machine name
System. Out. println ("Java specification version:" + system. getproperty ("Java. Specification. Version"); // Java specification version
System. Out. println ("java standard provider:" + system. getproperty ("Java. Specification. Vendor"); // java standard provider
System. Out. println ("Java canonical name:" + system. getproperty ("Java. Specification. Name"); // Java canonical name
System. Out. println ("Java class version:" + system. getproperty ("Java. Class. Version"); // Java class version
System. Out. println ("Java class path:" + system. getproperty ("Java. Class. Path"); // Java class path
System. Out. println ("Java lib path:" + system. getproperty ("Java. Library. Path"); // Java lib path
System. Out. println ("temporary JAVA input/output path:" + system. getproperty ("Java. Io. tmpdir"); // temporary JAVA input/output path
System. Out. println ("Java compiler:" + system. getproperty ("Java. compiler"); // Java compiler
System. Out. println ("Java execution path:" + system. getproperty ("Java. Ext. dirs"); // Java execution path
System. Out. println ("operating system name:" + system. getproperty ("OS. Name"); // operating system name
System. Out. println ("Operating System Architecture:" + system. getproperty ("OS. Arch"); // Operating System Architecture
System. Out. println ("operating system version:" + system. getproperty ("OS. Version"); // operating system version
System. Out. println ("file separator:" + system. getproperty ("file. separator"); // file Separator
System. Out. println ("path separator:" + system. getproperty ("path. separator"); // path Separator
System. Out. println ("line separator:" + system. getproperty ("line. separator"); // line Separator
System. Out. println ("operating system username:" + system. getproperty ("user. Name"); // username
System. Out. println ("operating system user's home directory:" + system. getproperty ("user. Home"); // user's home directory
System. Out. println ("directory of the current program:" + system. getproperty ("user. dir"); // directory of the current program
System. getproperty () method Overview