Contact Us Today!   |   + 1 (301) 424 3903



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 (Comment Moderation is enabled. Your comment will not appear until approved.)
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.1.002. Contact Blog Owner