Can I ask what Windows os you're running?  I've lately seen javadoc work
on a Win95 machine but not on Win2000Pro.  I'll have to try explicitly
adding it to the PATH as you say below.

Aarti Chandnani wrote:

>  yeah it is it behaved that way on both unix and windowsi had to
> explicitly add it in my path
>
>      -----Original Message-----
>      From: Iain Lowe [mailto:[EMAIL PROTECTED]]
>      Sent: Monday, April 23, 2001 5:08 PM
>      To: [EMAIL PROTECTED]
>      Subject: RE: 'javadoc' is not recognized as an internal or
>      external command
>
>      You shouldn't have to explicitly add it. That's strange.
>      Make sure that javadoc.exe is in the bin directory?
>
>           -----Original Message-----
>           From: Aarti Chandnani
>           [mailto:[EMAIL PROTECTED]]
>           Sent: Monday, April 23, 2001 7:59 PM
>           To: '[EMAIL PROTECTED]'
>           Subject: RE: 'javadoc' is not recognized as an
>           internal or external command
>
>           Yeah i figured that.But i was wondering :I have
>           set the JAVA_HOME to c:\jdk1.2.2With 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:[EMAIL PROTECTED]]
>                Sent: Monday, April 23, 2001 4:52 PM
>                To: [EMAIL PROTECTED]
>                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:[EMAIL PROTECTED]]
>
>                     Sent: Monday, April 23, 2001
>                     2:02 PM
>                     To:
>                     '[EMAIL PROTECTED]'
>                     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?
>
>

Reply via email to