zoukankan      html  css  js  c++  java
  • Java System.getProperties()到底能获得什么信息

    java.runtime.name=Java(TM)   2   Runtime   Environment,   Stand... 
    sun.boot.library.path=D:\j2sdk1.4.1_03\jre\bin 
    java.vm.version=1.4.1_03-b02 
    java.vm.vendor=Sun   Microsystems   Inc. 
    java.vendor.url=http://java.sun.com/ 
    path.separator=; 
    java.vm.name=Java   HotSpot(TM)   Client   VM 
    file.encoding.pkg=sun.io 
    user.country=CN 
    sun.os.patch.level=Service   Pack   3 
    java.vm.specification.name=Java   Virtual   Machine   Specification 
    java.runtime.version=1.4.1_03-b02 
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment 
    java.endorsed.dirs=D:\j2sdk1.4.1_03\jre\lib\endorsed 
    os.arch=x86 
    line.separator= 

    java.vm.specification.vendor=Sun   Microsystems   Inc. 
    user.variant= 
    java.naming.factory.url.pkgs=org.apache.naming 
    os.name=Windows   2000 
    sun.java2d.fontpath= 
    java.library.path=D:\j2sdk1.4.1_03\bin;.;D:\WINNT\Syste... 
    java.specification.name=Java   Platform   API   Specification 
    java.class.version=48.0 
    java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFac... 
    os.version=5.0 
    user.home=D:\Documents   and   Settings\administrator 
    user.timezone=Asia/Shanghai 
    catalina.useNaming=true 
    java.awt.printerjob=sun.awt.windows.WPrinterJob 
    file.encoding=GBK 
    java.specification.version=1.4 
    catalina.home=E:/Program   Files/JBuilder7/jakarta-to... 
    user.name=chenyan 
    java.class.path=D:\Program   Files\Apache   Tomcat   4.0\bi... 
    java.naming.factory.initial=org.apache.naming.java.javaURLContext... 
    axis.enableListQuery=true 
    java.vm.specification.version=1.0 
    sun.arch.data.model=32 
    java.home=D:\j2sdk1.4.1_03\jre 
    java.specification.vendor=Sun   Microsystems   Inc. 
    user.language=zh 
    awt.toolkit=sun.awt.windows.WToolkit 
    java.vm.info=mixed   mode 
    java.version=1.4.1_03 
    java.ext.dirs=D:\j2sdk1.4.1_03\jre\lib\ext 
    sun.boot.class.path=D:\j2sdk1.4.1_03\jre\lib\rt.jar;D:\j2... 
    java.vendor=Sun   Microsystems   Inc. 


    如果想插入信息,如编写JavaMail时需要插入props.pout(  mail.smtp.host  ,"smtp.163.com");
  • 相关阅读:
    [HDU 4828] Grids
    约瑟夫问题合集
    [POJ 1365] Prime Land
    [POJ 3270] Cow Sorting
    [POJ 1674] Sorting by Swapping
    SGU 188.Factory guard
    POJ 2942.Knights of the Round Table (双连通)
    POJ 1236.Network of Schools (强连通)
    POJ 2186.Popular Cows (强连通)
    POJ 1734.Sightseeing trip (Floyd 最小环)
  • 原文地址:https://www.cnblogs.com/live365wang/p/1993708.html
Copyright © 2011-2022 走看看