<cfdump var="#server#">

If it works, it'll tell you, if it doesn't, it's pre-mx.  I think I'm
accurate on that, but others may wish to chime in as well.

John

-----Original Message-----
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 3:24 PM
To: CF-Talk
Subject: cf version check

  how the heck do I check the version of cold fusion that I'm running?
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/Go
lf2004/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.

thanks.

--
Daniel Kessler

Department of Public and Community Health University of Maryland Suite
2387 Valley Drive College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to