> how the heck do I check the version of cold fusion
> that I'm running?

There are a bunch of built in server variables you can use. You might find
it helpful to just dump the Server scope to see them all. Here are some that
should be immediately useful:

<cfoutput>
#Server.ColdFusion.ProductName#
#Server.ColdFusion.ProductVersion#
#Server.Coldfusion.ProductLevel#
</cfoutput>

> I'm doing two calls that don't work and I'm thinking it might
> be the cf version.  I need a code way of checking the version
> cause I don't maintain the server itself (just access it).
>
> The calls that are failing are:
> <cfset imgFile =
> createObject("java","javax.swing.ImageIcon").init("http://hhp.
> umd.edu/Golf2004/images/GolfLogo2.gif")>
>
> Error: object couldn't instantiate
>
> <cfset ImageObject =
> createObject("java","javax.imageio.ImageIO").read("a21.jpg")>
> Error: method can't be found.
>
> Any thoughts on the version check or these errors is welcome.

These probably have to do with the version of Java you're using to run CF.
If you haven't upgraded to CFMX 6.1, you might consider upgrading your JVM
to a newer version to address these errors.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to