Detailed explanation of the System. getProperty () method in java, system. getproperty
In java, the System. getProperty () method is described as follows:
System. out. println ("java version:" + System. getProperty ("java. version "); // java version number 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 standard version number System. out. println ("Java virtual machine specification provider:" + System. getProperty ("java. vm. specification. vendor "); // Java virtual machine specification provider System. out. println ("Java virtual machine specification name:" + System. getProperty ("java. vm. specification. name "); // name of the Java Virtual Machine Specification System. out. println ("Java Virtual Machine version:" + System. getProperty ("java. vm. version "); // Java Virtual Machine version number System. out. println ("Java virtual machine provider:" + System. getProperty ("java. vm. vendor "); // Java virtual machine provider System. out. println ("Java Virtual Machine name:" + System. getProperty ("java. vm. name "); // name of the Java Virtual Machine System. out. println ("Java specification version:" + System. getProperty ("java. specification. version "); // Java standard version number System. out. println ("Java standard provider:" + System. getProperty ("java. specification. vendor "); // Java standard provider System. out. println ("Java specification name:" + System. getProperty ("java. specification. name "); // Java standard name System. out. println ("Java class version:" + System. getProperty ("java. class. version "); // Java class version number 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 path of Java input and output: 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 "); // The operating System name System. out. println ("Operating System Architecture:" + System. getProperty ("OS. arch "); // The operating System architecture. out. println ("operating System version:" + System. getProperty ("OS. version "); // operating System version number 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 "); // a line separator System. out. println ("operating System username:" + System. getProperty ("user. name "); // user name System. out. println ("operating System user's home directory:" + System. getProperty ("user. home "); // the user's home directory System. out. println ("directory of the current program:" + System. getProperty ("user. dir "); // directory where the current program is located