The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Consider using class loaders

Posted by Bill Venners on April 11, 2000 at 6:52 PM

> In one of my applications, I am trying to create folders at runtime
> and copy some .class files into these folders. folders are
> dynamically created with dynamic names. I want to include
> these folders in the classpath at runtime. How do i achieve this?

You may want to use a class loader that knows how to load
from those folders. For info on class loaders, see:

http://www.artima.com/designtechniques/dynaext.html

bv



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us