Getting Java System Information

As you know ColdFusion is based on Java. If we would like to have some more information about using the Java platform we can use the following code.

<cfset SysJVM = CreateObject("java", "java.lang.System").properties>
<cfoutput>
   <cfloop collection="#SysJVM#" item="id">
      <strong>#id#</strong>: #SysJVM[id]# <br />
   </cfloop>
</cfoutput>


Comments
wedding dress's Gravatar Wow,Thanks for your introductions,It's very usefull !
# Posted By wedding dress | 11/14/07 12:39 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner
Home | About Us | Software Development | Server Optimization | Client Portfolio | Training | Contact Us

Copyright © TeraTech Inc 2007. All rights Reserved.
TeraTech Inc 405 E Gude Dr Suite 207, Rockville MD 20850 | MAP Map | Tel.: +1 (301) 424 3903 | Fax: +1 (301) 762 8185 | Contact Us