Try placing the class file in the folder named "classes" (not "cfclasses" - that's where the class file versions of your cf code goes) but "classes" should be at the same level as "lib" according to my installation, which is right under WEB-INF.
Also make sure that if your java class defines itself as part of a package, that you have the correct folder structure to support a call to that package. (Ex. "package com.test.classA" in my java source would mean that I need "\WEB-INF\classes\com\test\classA.class" to be the physical path, and I would instantiate it as such: CreateObject("java", "com.test.classA")) Hopefully I have helped and not confused you. :) -Chris >I've written a java class file I want to use in an app (just testing). >but I can't figure out where to put my .class file. I tried putting it >in the directory with the page calling it, then calling it > >createobject("java","myclass"); > >But this errored out, not finding the class. So then I placed it in the >classpath used according to the cf administrator > >c:\cfusionmx7\wwwroot\web-inf\lib > >But the same call fails in the same way, even after restarting cf. I >have .jar files installed in the same directory that are working fine >(JAI, JPedal, etc.), but my .class file just seems to be ignored. Can >anyone give me some insight here? TIA > >Cutter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228494 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54