Hi Dave, You need to place the .class files in C:\CFusionMX7\wwwroot\WEB-INF\classes dir or add the path to the class file to the classpath specified on the JVM and Java Settings page in the ColdFusion MX Administrator.
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=ColdFusion_Documentation&file=00001561.htm will give you more information on this. Thanks, Hareni -----Original Message----- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: 05 December 2007 19:49 To: CF-Talk Subject: Using custom java classes with MX 7 Greetings, I haven't really had the opportunity to use Java with ColdFusion very much and it's been a long time... Where do I place a java class called "cftest.class" that resides in a java package called "davepack"? I put package in the "C:\CFusionMX7\wwwroot\WEB-INF" directory but it says it can't find the class? Here's how I'm attempting to use the class in CF, I think the code syntax is correct. ======== <cfobject type="java" action="create" class="davepack/cftest" name="cftest"> <cfset void = cftest.init()> <cfset status = cftest.myTestMethod()> ======== Thanks, Dave Bosky | Information Services | HTC | direct: 843-369-8613 | fax: 843-369-7178 | [EMAIL PROTECTED] ********************************************************************** HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ********************************************************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294297 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

