I was working on a Ant build file which includes a doc task generating the Javadoc for our project. Running the task from the command line worked just fine. When running the same task from within Eclipse 3.0 a ran into the following error.

Javadoc failed: java.io.IOException: CreateProcess

The solution proved to be simple.

Add javadoc.exe to the system path and restart eclipse …