1. Is your compiler in the PATH ? Try to type "javac" at the command prompt. If javac is not found, then
you should put your bin directory in the PATH.
For example, in Windows, SET PATH=c:/jdk1.5.0_07/bin;%PATH%
2. Are you using the "executable" attribute of the javac task ?