A quick look at the java docs tells me that the file class does not have a no arg constructor. What is the code you are using to construct this java object? You should be passing at the very leas a string for the file path.
http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html Dan Vega http://www.danvega.org/blog/ On 3/7/07, Jones Eric R Ctr 8 AF Det 1/AFNOC < [EMAIL PROTECTED]> wrote: > > I'm trying to use the java.io.file class but for some reason it's not > working. > > I'm doing a simple createobject("java","java.io.file"); but it keeps > telling me there was an object instantiation error. > > We recently change the JVM so our CF7 servers would be compliant with > the DST changes. Is there something elese I need to do in order to use > the java objects? > > ---------------_____________________________________________________ > > Eric R. Jones > Senior Web Application Developer, AFNOC/NCD > Barksdale AFB, LA > DSN 781-7784 > Comm (318) 456-7784 > NIPRNET: [EMAIL PROTECTED] > SIPRNET: [EMAIL PROTECTED] > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271918 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

