His code procedures

  Abstract: his code procedures 

  </ Td> </ tr> <tr> <td width="489" height="35" valign="top" class="ArticleTeitle"> procedure code below his output java runtime environment attributes, and help us to analyse some procedural issues: 
  If the file separators, the default file encoding format. 

  (Public class TestProperties 
  Public static void main (String [] args) ( 
  System.getProperties (). List (System.out); 
  ) 
  ) 

  In the output on my machine: 

  C: \ java> javac TestProperties.java 

  C: \ java> java TestProperties 
  — Listing properties – 
  Java.runtime.name = Java (TM) 2 Runtime Environment, Stand … 
  Sun.boot.library.path = C: \ Program Files \ Java \ j2re1.4.2_03 \ bin 
  Java.vm.version = 1.4.2_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 1 
  Java.vm.specification.name = Java Virtual Machine Specification 
  User.dir = C: \ java 
  Java.runtime.version = 1.4.2_03-b02 
  Java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment 
  Java.endorsed.dirs = C: \ Program Files \ Java \ j2re1.4.2_03 \ li … 
  Os.arch x86 = 
  Java.io.tmpdir = C: \ DOCUME ~ 1 \ cwb \ LOCALS ~ 1 \ Temp \ 
  Line.separator = 

  Java.vm.specification.vendor = Sun Microsystems Inc. 
  User.variant = 
  Os.name = Windows XP 
  Sun.java2d.fontpath = 
  Java.library.path = C: \ WINDOWS \ system32;. C: \ WINDOWS \ Syst … 
  Java.specification.name = Java Platform API Specification 
  Java.class.version = 48.0 
  Java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFac … 
  Os.version = 5.1 
  User.home = C: \ Documents and Settings \ cwb 
  User.timezone = 
  Java.awt.printerjob = sun.awt.windows.WPrinterJob 
  File.encoding = GBK 
  Java.specification.version = 1.4 
  User.name = cwb 
  Java.class.path = d: \ j2sdk1.4.2 \ lib; c: \ j2ee1.3.1 \ lib \ j2 … 
  Java.vm.specification.version = 1.0 
  Sun.arch.data.model = 32 
  Java.home = C: \ Program Files \ Java \ j2re1.4.2_03 
  Java.specification.vendor = Sun Microsystems Inc. 
  User.language = zh 
  Awt.toolkit = sun.awt.windows.WToolkit 
  Java.vm.info mixed mode = 
  Java.version = 1.4.2_03 
  Java.ext.dirs = C: \ Program Files \ Java \ j2re1.4.2_03 \ li … 
  Sun.boot.class.path = C: \ Program Files \ Java \ j2re1.4.2_03 \ li … 
  Java.vendor = Sun Microsystems Inc. 
  File.separator = \ 
  Java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport … 
  Sun.cpu.endian little = 
  Sun.io.unicode.encoding = UnicodeLittle 
  Sun.cpu.isalist = pentium i486 i386 

  C: \ java> </ td> <td width="195" valign="top" class="ArticleTeitle"> 
  </ Td> </ tr> <tr> <td height="25" colspan="2" valign="top" class="ArticleTeitle"> 

  ↑ Back 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • DotNetKicks
  • DZone
  • Netvouz
  • Propeller

Tags: ,

Releated Java Articles

Comments

Leave a Reply