java System属性

自定义 :

java -Dname=value


Standard System Properties

 
Property Name Description Java Version
file.encoding The character encoding for the default locale1.1
file.encoding.pkg The package that contains the converters that handle converting between local encodings and Unicode1.1
file.separator The platform-dependent file separator (e.g., "/" on UNIX, "\" for Windows)1.0
java.class.path The value of the CLASSPATH environment variable1.0
java.class.version The version of the Java API1.0
java.compiler The just-in-time compiler to use, if any. The java interpreter provided with the JDK initializes this property from the environment variable JAVA_COMPILER.1.0
java.home The directory in which Java is installed1.0
java.io.tmpdir The directory in which java should create temporary files1.2
java.version The version of the Java interpreter1.0
java.vendor A vendor-specific string1.0
java.vendor.url A vendor URL1.0
line.separator The platform-dependent line separator (e.g., "\n" on UNIX, "\r\n" for Windows)1.0
os.name The name of the operating system1.0
os.arch The system architecture1.0
os.version The operating system version1.0
path.separator The platform-dependent path separator (e.g., ":" on UNIX, "," for Windows)1.0
user.dir The current working directory when the properties were initialized1.0
user.home The home directory of the current user1.0
user.language The two-letter language code of the default locale1.1
user.name The username of the current user1.0
user.region The two-letter country code of the default locale1.1
user.timezone The default time zone1.1
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值