Yeah i figured that.
But i was wondering :
I have set the JAVA_HOME to c:\jdk1.2.2
With just that ANT can execute javac & jar then why not javadoc?
Why  u need to explicitly add the PATH for javadoc?
 
Thanks for your help anyway! :-)
 
-----Original Message-----
From: Iain Lowe [mailto:ilowe@videotron.ca]
Sent: Monday, April 23, 2001 4:52 PM
To: ant-user@jakarta.apache.org
Subject: RE: 'javadoc' is not recognized as an internal or external command

Make sure that the javadoc.exe executable is in your PATH environment variable when you run ant.
-----Original Message-----
From: Aarti Chandnani [mailto:Aarti.Chandnani@XUMA.com]
Sent: Monday, April 23, 2001 2:02 PM
To: 'ant-user@jakarta.apache.org'
Subject: 'javadoc' is not recognized as an internal or external command

 I have a build.xml
It compiles the code correctly and creates the jar file
but it gives an error while creating the javadoc task.

I get the following error:

  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] 'javadoc' is not recognized as an internal or external command,
  [javadoc] operable program or batch file.
Whats wrong?