What information is stored in properties in Java?

Source: Internet
Author: User
Tags lenovo

Properties props = system. getproperties ();
System. Out. println ("props:" + props );
String bits = string. valueof (props. Get ("Sun. Arch. Data. Model "));
System. Out. println ("bits:" + bits );

 

{java.runtime.name=Java(TM) SE Runtime Environment;sun.boot.library.path=C:\jre6\bin;java.vm.version=20.0-b11;java.vm.vendor=Sun Microsystems Inc.;java.vendor.url=http://java.sun.com/;path.separator=;;java.vm.name=Java HotSpot(TM) 64-Bit Server VM;file.encoding.pkg=sun.io;sun.java.launcher=SUN_STANDARD;user.country=CN;sun.os.patch.level=;java.vm.specification.name=Java Virtual Machine Specification;user.dir=F:\Workspaces\MyEclipse 9\Test;java.runtime.version=1.6.0_25-b06;java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment;java.endorsed.dirs=C:\jre6\lib\endorsed;os.arch=amd64;java.io.tmpdir=C:\Users\wsq\AppData\Local\Temp\;line.separator=;java.vm.specification.vendor=Sun Microsystems Inc.;user.variant=;os.name=Windows 7;sun.jnu.encoding=GBK;java.library.path=C:\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\wsq\product\11.2.0\dbhome_1\bin;C:\jdk1.6.0_27\bin;E:\app\wsq\product\11.2.0\client_1\bin;D:\Program Files (x86)\CodeGear\RAD Studio\5.0\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\WeFi;C:\Program Files\TortoiseSVN\bin;D:\msysgit\msysgit\bin;E:\Program Files\TortoiseGit\bin;E:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;E:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\DBank\ClickUp;java.specification.name=Java Platform API Specification;java.class.version=50.0;sun.management.compiler=HotSpot 64-Bit Tiered Compilers;os.version=6.1;user.home=C:\Users\wsq;user.timezone=;java.awt.printerjob=sun.awt.windows.WPrinterJob;file.encoding=UTF-8;java.specification.version=1.6;java.class.path=F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\classes;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\spket-1.6.4.1.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\jsonplugin.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\classes12.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\apache-cassandra-0.6.1.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\JavaMemCache.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-beanutils-1.7.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-codec-1.4.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-collections-2.1.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-digester-1.7.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-lang-2.1.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-logging-1.0.2.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-pool-1.5.3.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\itext-1.3.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\jasperreports-3.0.0.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\servlet.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\standard.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-collections-3.2.1.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\commons-logging.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\log4j-1.2.16.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\ojdbc14.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\proxool-0.9.1.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\proxool-cglib.jar;F:\Workspaces\MyEclipse 9\Test\WebRoot\WEB-INF\lib\jxl.jar;user.name=wsq;java.vm.specification.version=1.0;sun.java.command=com.segsec.gisap.Test;java.home=C:\jre6;sun.arch.data.model=64;user.language=zh;java.specification.vendor=Sun Microsystems Inc.;awt.toolkit=sun.awt.windows.WToolkit;java.vm.info=mixed mode;java.version=1.6.0_25;java.ext.dirs=C:\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext;sun.boot.class.path=C:\jre6\lib\resources.jar;C:\jre6\lib\rt.jar;C:\jre6\lib\sunrsasign.jar;C:\jre6\lib\jsse.jar;C:\jre6\lib\jce.jar;C:\jre6\lib\charsets.jar;C:\jre6\lib\modules\jdk.boot.jar;C:\jre6\classes;C:\Users\wsq\AppData\Local\MyEclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201106292137\data\libraryset\EE_5\javaee.jar;C:\Users\wsq\AppData\Local\MyEclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201106292137\data\libraryset\EE_5\jsf-impl.jar;C:\Users\wsq\AppData\Local\MyEclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201106292137\data\libraryset\EE_5\jsf-api.jar;C:\Users\wsq\AppData\Local\MyEclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201106292137\data\libraryset\EE_5\jstl-1.2.jar;java.vendor=Sun Microsystems Inc.;file.separator=\;java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi;sun.io.unicode.encoding=UnicodeLittle;sun.cpu.endian=little;sun.desktop=windows;sun.cpu.isalist=amd64}

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.