Hi Joshua,

Yes, it is possible to load java classes without having them being on
the classpath, but there are some issues.

You can load a single java class easily enough by creating your own
class loader. I blogged about this a few months back:

http://www.spike.org.uk/blog/index.cfm?data="">
If the class you load references more classes which is almost always the
case. Then you have to make sure that all the classes you need to use
are available to either the classloader or via the classpath.

For the URLClassLoader that I showed in the blog entry paths that end
with "/" are assumed to be directories, paths that don't are assumed to
be jar files.

HTH

Spike

Joshua OConnor-Rose wrote:
> Just got some new information on the project.
>
> Evidently the client is using a shared server and they
> have some rules.
>
> Is in possible in CF to use createObject or cfinvoke
> or cfobject to access java classes or .jar without
> them being configured in the class path.
>
> -Joshua O'Connor-Rose
> -All is Good
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to