Title: '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.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:[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