System.getProperty(String key)的常用参数:
java.version Java Runtime Environment version Java API 实现的版本
java.vendor Java Runtime Environment vendor Java API 实现的厂商java.vendor.url Java vendor URL Java API 规范厂商的URL
java.home Java installation directory Java安装目录
java.vm.specification.version Java Virtual Machine specification version Java虚拟机规范的版本
java.vm.specification.vendor Java Virtual Machine specification vendor Java虚拟机规范的厂商
java.vm.specification.name Java Virtual Machine specification name Java虚拟机规范的名称
java.vm.version Java Virtual Machine implementation version Java虚拟机的版本
java.vm.vendor Java Virtual Machine implementation vendor Java虚拟机供应厂商
java.vm.name Java Virtual Machine implementation name Java虚拟机实现的名称
java.specification.version Java Runtime Environment specification version Java API 规范的版本
java.specification.vendor Java Runtime Environment specification vendor Java API 规范的厂商
java.specification.name Java Runtime Environment specification name Java API 规范的名称
java.class.version Java class format version number Java类文件格式的版本
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语法分析器
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 当前工作目录