I recommend you read Ted Neward's white paper on understanding Class.forName() for the details of class loading in Java.
Very enlightening. --DD -----Original Message----- From: Peter Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 1:43 PM To: Ant Users List Subject: RE: Where to put ant.jar? > Also, put JARs in jre/lib/ext is not the best way to go, unless you really > understand the way classloaders work. Definitely not recommended... --DD > I removed ant.jar from /lib/ext and now it works, but why is that the case. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>