Created
June 23, 2012 22:26
-
-
Save isapir/2980328 to your computer and use it in GitHub Desktop.
prints out all the system properties for the JVM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
tr td { border-bottom: 1px dotted gray; vertical-align: top; margin-top: 2px; padding-left: 0.5em; } | |
tr td:first-child { text-align: right; padding-right: 0.5em; border-right: 1px dotted #CCC; } | |
table { border: 1px solid gray; width:90%; } | |
</style> | |
<cfoutput> | |
<cfset system = CreateObject( "java", "java.lang.System" )> | |
<cfset properties = system.getProperties()> | |
<cfset propertyNames = ListSort( StructKeyList( properties ), 'text' )> | |
<table> | |
<cfloop list="#propertyNames#" index="li"> | |
<tr><td>#li#:</td><td>#Replace( Replace( System.getProperty( li ), ',', ', ', 'all' ), ';', '; ', 'all' )#</td> | |
</cfloop> | |
</table> | |
</cfoutput> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment