System.getProperty()參數大全

   show(System.getProperty("java.version"));// Java Runtime Environment version
   show(System.getProperty("java.vendor"));// Java Runtime Environment vendor
   show(System.getProperty("java.vendor.url"));// Java vendor URL
   show(System.getProperty("java.home"));// Java installation directory
   show(System.getProperty("java.vm.specification.version"));// Java Virtual Machine specification version
   show(System.getProperty("java.vm.specification.vendor"));// Java Virtual Machine specification vendor
   show(System.getProperty("java.vm.specification.name"));// Java Virtual Machine specification name
   show(System.getProperty("java.vm.version"));// Java Virtual Machine implementation version
   show(System.getProperty("java.vm.vendor"));// Java Virtual Machine implementation vendor
   show(System.getProperty("java.vm.name"));// Java Virtual Machine implementation name
   show(System.getProperty("java.specification.version"));// Java Runtime Environment specification version
   show(System.getProperty("java.specification.vendor"));// Java Runtime Environment specification vendor
   show(System.getProperty("java.specification.name"));// Java Runtime Environment specification name
   show(System.getProperty("java.class.version"));// Java class format version number
   show(System.getProperty("java.class.path"));// Java class path
   show(System.getProperty("java.library.path"));// List of paths to search when loading libraries
   show(System.getProperty("java.io.tmpdir"));// Default temp file path
   show(System.getProperty("java.compiler"));// Name of JIT compiler to use
   show(System.getProperty("java.ext.dirs"));// Path of extension directory or directories
   show(System.getProperty("os.name"));// Operating system name
   show(System.getProperty("os.arch"));// Operating system architecture
   show(System.getProperty("os.version"));// Operating system version
   show(System.getProperty("file.separator"));// File separator ("/" on UNIX)
   show(System.getProperty("path.separator"));// Path separator (":" on UNIX)
   show(System.getProperty("line.separator"));// Line separator ("/n" on UNIX)
   show(System.getProperty("user.name"));// User's account name
   show(System.getProperty("user.password"));// User's home directory
   show(System.getProperty("user.home"));// User's home directory
   show(System.getProperty("user.dir"));// User's current working directory
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章