System

System

package com.mozq.demo.demo;

import java.util.Properties;

public class Demo_02 {
    public static void main(String[] args) {
        Properties properties = System.getProperties();
        properties.forEach((k, v)->{
            System.out.println(k + "=" + v);
        });
    }
}

用户信息

user.dir=D:\00\mozq_pro1\shiro

文件系统信息

file.separator=\

java.vendor=Oracle Corporation

java.version=1.8.0_181

java.vm.specification.version=1.8

java供应商信息

java.vm.vendor=Oracle Corporation

sun.cpu.isalist=amd64
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
file.separator=\
java.vendor=Oracle Corporation
sun.boot.class.path=C:\Program Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_181\jre\classes
java.ext.dirs=C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.version=1.8.0_181
java.vm.info=mixed mode
awt.toolkit=sun.awt.windows.WToolkit
user.language=zh
java.specification.vendor=Oracle Corporation
sun.java.command=com.mozq.demo.demo.Demo_02
java.home=C:\Program Files\Java\jdk1.8.0_181\jre
sun.arch.data.model=64
java.vm.specification.version=1.8
java.class.path=C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\deploy.jar
user.name=jie
file.encoding=UTF-8
java.specification.version=1.8
java.awt.printerjob=sun.awt.windows.WPrinterJob
user.timezone=
user.home=C:\Users\jie
os.version=10.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
java.specification.name=Java Platform API Specification
java.class.version=52.0
jboss.modules.system.pkgs=com.intellij.rt
java.library.path=C:\Program Files\Java\jdk1.8.0_181\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre1.8.0_201\bin;D:\chengxu\Gradle\gradle-4.10\bin;D:\chengxu\Git\cmd;D:\chengxu\TortoiseGit\bin;C:\Program Files\VisualSVN Server\bin;C:\Program Files\TortoiseSVN\bin;D:\chengxu\apache-maven-3.6.0\\bin;D:\chengxu\MySQL\mysql-8.0.12-winx64\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\chengxu\nodejs\node-v10.16.1-win-x64\;D:\chengxu\nodejs\node-v10.16.1-win-x64\npm_modules\;C:\Program Files\erl9.3;D:\chengxu\apache-zookeeper-3.5.5;D:\Python\Scripts\;D:\Python\;C:\Users\jie\AppData\Local\Microsoft\WindowsApps;;.
sun.jnu.encoding=GBK
os.name=Windows 10
user.variant=
java.vm.specification.vendor=Oracle Corporation
java.io.tmpdir=C:\Users\jie\AppData\Local\Temp\
line.separator=

java.endorsed.dirs=C:\Program Files\Java\jdk1.8.0_181\jre\lib\endorsed
os.arch=amd64
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.runtime.version=1.8.0_181-b13
intellij.debug.agent=true
java.vm.specification.name=Java Virtual Machine Specification
user.dir=D:\00\mozq_pro1\shiro
user.country=CN
user.script=
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
path.separator=;
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
sun.boot.library.path=C:\Program Files\Java\jdk1.8.0_181\jre\bin
java.vm.version=25.181-b13
java.runtime.name=Java(TM) SE Runtime Environment
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
<!-- 银联支付用到 -->
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15on</artifactId>
    <version>1.59</version>
</dependency>
posted @ 2019-11-10 19:33  没有理由不会呀  阅读(600)  评论(0编辑  收藏  举报