System.properties

Posted WesTward

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了System.properties相关的知识,希望对你有一定的参考价值。

win:

 

 

len:54
java.runtime.name=Java(TM) SE Runtime Environment  
sun.boot.library.path=D:\Java\jdk1.8.0_73\jre\bin  
java.vm.version=25.73-b02  
java.vm.vendor=Oracle Corporation  
java.vendor.url=http://java.oracle.com/  
path.separator=;  
java.vm.name=Java HotSpot(TM) 64-Bit Server VM  
file.encoding.pkg=sun.io  
user.country=CN  
user.script=  
sun.java.launcher=SUN_STANDARD  
sun.os.patch.level=  
java.vm.specification.name=Java Virtual Machine Specification  
user.dir=F:\workspace\test  
java.runtime.version=1.8.0_73-b02  
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment  
java.endorsed.dirs=D:\Java\jdk1.8.0_73\jre\lib\endorsed  
os.arch=amd64  
java.io.tmpdir=C:\Users\yuan\AppData\Local\Temp\  
line.separator=
  
java.vm.specification.vendor=Oracle Corporation  
user.variant=  
os.name=Windows 10  
sun.jnu.encoding=GBK  
java.library.path=D:\Java\jdk1.8.0_73\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:/Java/jdk1.8.0_73/bin/../jre/bin/server;D:/Java/jdk1.8.0_73/bin/../jre/bin;D:/Java/jdk1.8.0_73/bin/../jre/lib/amd64;D:\Java\jdk1.8.0_73\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;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)\Acer\abFiles\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Users\yuan\AppData\Local\Microsoft\WindowsApps;;F:\软件1\JAVA\eclipse-jee-neon-R-win32-x86_64\eclipse;;.  
java.specification.name=Java Platform API Specification  
java.class.version=52.0  
sun.management.compiler=HotSpot 64-Bit Tiered Compilers  
os.version=10.0  
user.home=C:\Users\yuan  
user.timezone=  
java.awt.printerjob=sun.awt.windows.WPrinterJob  
file.encoding=GBK  
java.specification.version=1.8  
java.class.path=F:\workspace\test\bin  
user.name=yuan  
java.vm.specification.version=1.8  
sun.java.command=test.SystemTest  
java.home=D:\Java\jdk1.8.0_73\jre  
sun.arch.data.model=64  
user.language=zh  
java.specification.vendor=Oracle Corporation  
awt.toolkit=sun.awt.windows.WToolkit  
java.vm.info=mixed mode  
java.version=1.8.0_73  
java.ext.dirs=D:\Java\jdk1.8.0_73\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext  
sun.boot.class.path=D:\Java\jdk1.8.0_73\jre\lib\resources.jar;D:\Java\jdk1.8.0_73\jre\lib\rt.jar;D:\Java\jdk1.8.0_73\jre\lib\sunrsasign.jar;D:\Java\jdk1.8.0_73\jre\lib\jsse.jar;D:\Java\jdk1.8.0_73\jre\lib\jce.jar;D:\Java\jdk1.8.0_73\jre\lib\charsets.jar;D:\Java\jdk1.8.0_73\jre\lib\jfr.jar;D:\Java\jdk1.8.0_73\jre\classes  
java.vendor=Oracle Corporation  
file.separator=\  
java.vendor.url.bug=http://bugreport.sun.com/bugreport/  
sun.io.unicode.encoding=UnicodeLittle  
sun.cpu.endian=little  
sun.desktop=windows  
sun.cpu.isalist=amd64  

 

ubuntu:

len:51
java.runtime.name=OpenJDK Runtime Environment
sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
java.vm.version=24.121-b00
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=:
java.vm.name=OpenJDK 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=CN
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/westward/demo
java.runtime.version=1.7.0_121-b00
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
os.arch=amd64
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Oracle Corporation
os.name=Linux
sun.jnu.encoding=UTF-8
java.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=51.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=3.19.0-43-generic
user.home=/root
user.timezone=
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=UTF-8
java.specification.version=1.7
java.class.path=.
user.name=root
java.vm.specification.version=1.7
sun.java.command=SystemTest
java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
sun.arch.data.model=64
user.language=zh
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.X11.XToolkit
java.vm.info=mixed mode
java.version=1.7.0_121
java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes
java.vendor=Oracle Corporation
file.separator=/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.cpu.isalist=



以上是关于System.properties的主要内容,如果未能解决你的问题,请参考以下文章