--
You received this message because you are subscribed to the Google Groups "javaloader-dev" group.
To post to this group, send email to javaloa...@googlegroups.com.
To unsubscribe from this group, send email to javaloader-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaloader-dev?hl=en.
Mike, You do not need to put the classloader jar in the CF class path. As Mark mentioned, the JavaLoader.cfc automatically looks for that jar in a subfolder called "./lib" that is *relative to the cfc's location*. If you placed JavaLoader.cfc beneath the web root, it will look for the jar in "cfusion/wwwroot/lib/" . You are getting an error because you moved it so the file cfusion/wwwroot/lib/classloader-xxxxxversionxxxxx.jar probably does not exist. To install just download the project from riaforge.org. Then unzip it and copy the _entire_ javaLoader folder beneath the cfusion/wwwroot. ie So you'll have: cfusion/wwwroot/javaloader/JavaLoader.cfc cfusion/wwwroot/javaloader/JavaCompiler.cfc cfusion/wwwroot/javaloader/JavaProxy.cfc cfusion/wwwroot/license.txt cfusion/wwwroot/lib/classloader-xxxxxversionxxxxx.jar cfusion/wwwroot/support/*.* cfusion/wwwroot/tags/*.* cfusion/wwwroot/tmp/*.* Then invoke the CFC with: createObject("component", "javaLoader.JavaLoader").init(...); Once you have it working you can change the location, as long as you keep the relative folder structure in tact like Mark said. -Leigh |
Mike - Whoops. Never mind. I see you already figured it out :) -Leigh |
Mike - Whoops. Never mind. I see you already figured it out :)
-Leigh