The ant executable should be available in your PATH and not the CLASSPATH variable.
Regards, Deepak On Tue, Nov 16, 2010 at 9:36 AM, ramakanth varala < ramakanth.var...@gmail.com> wrote: > i downloaded openjdk-6-6b18-1.8.1.orig to my linux pc. > > when i tried to do ./configure it shows following error > > > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... none > checking for make... /usr/bin/make > checking for gzip... /bin/gzip > checking for ant... no > configure: error: ant program not found in PATH > > where as i have ant in my class path . i donot understand how to move > forward from here .. > can any body help me here >