System. java. version Java Runtime Environment version Java. vendor Java Runtime Environment vendor Java. vendor. URL Java vendor URL Java. home Java installation directory Java. VM. specification. version Java Virtual Machine Specification Version Java. VM. specification. vendor Java virtual machine specification vendor Java. VM. specification. name Java virtual machine specification name Java. VM. version Java Virtual Machine implementation version Java. VM. vendor Java Virtual Machine implementation vendor Java. VM. name Java Virtual Machine implementation name Java. specification. version Java Runtime Environment Specification Version Java. specification. vendor Java Runtime Environment specification vendor Java. specification. name Java Runtime Environment specification name Java. class. version Java class format version number Java. class. path Java class path Java. library. path list of paths to search when loading libraries Java. io. tmpdir default temp file path Java. compiler name of JIT compiler to use Java. ext. dirs path of extension directory or directories OS. name operating system name OS. arch operating system architecture OS. version operating system version file. separator file separator ("/" on UNIX) path. separator path separator (":" On UNIX) line. separator line separator ("\ n" on UNIX) user. name User's account name user. home user's home directory user. dir user's current working directory
Easy to use: system. getproperty ("user. dir ")