The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Runtime Class Information



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


problem solved?

Posted by Joyce Liu on September 28, 2001 at 6:30 PM

Just wonder if you've got a solution 'cause I now have exactly the same problem. Thanks a lot.

> How can I change classpath at runtime?

> System.setProperty("java.class.path","%x%"); is executed,
> System.getProperty("java.class.path"); shows new classpath, but
> Class.forName("");
> throws an exception.


Sponsored Links

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