What Version of Java is ColdFusion Using?

by Pete Freitag

Here's a one liner CFML script to show what version of Java your ColdFusion server is running:

<cfoutput>#CreateObject("java", "java.lang.System").getProperty("java.version")#</cfoutput>

Another way to find out what version of Java ColdFusion is using is to log into the ColdFusion Administrator, and click on the System Information icon, then look for: Java Version

The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.