I have heard that you need to uninstall the ant rpm that came with the distro in order to use a different version. I have not confirmed this, but it might be worth a try.
-Rob Anderson > -----Original Message----- > From: Dean N. Williams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2005 6:58 AM > To: user@ant.apache.org > Subject: Ant Exception Error > > > Dear Ant community, > > I am new to Ant and trying to build Ant 1.6.1 or 1.6.2. > I am on a RedHat Linux Enterprise WS platform. > I am trying both methods of installation. That is, > apache-ant-1.6.1-src.zip > apache-ant-1.6.2-bin.tar.gz > > Both methods result in the following error message. > > ./ant -version > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/tools/ant/launch/Launcher > > When I use the Ant 1.5.2 that came with the system it > works. I get: > /usr/bin/ant -version > Apache Ant version 1.5.2-23 compiled on November 12 2003 > > What am I missing for Ant 1.6.1 to work? > > Thanks in advance for your help... > > Best regards, > Dean > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]