DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28642>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28642 Problems running task javac with Ant1.6.1 and Jdk 1.4.2_04 Summary: Problems running task javac with Ant1.6.1 and Jdk 1.4.2_04 Product: Ant Version: 1.6.1 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Running a target containing a javac task. Using Ant1.6.1 and JDK 1.4.2_04 yielded a strange error. javac compiler not found class com.sun.tools.javac.Main not found JAVA_HOME may not point to the JDK The system variable JAVA_HOME points to the correct directory. The system variable CLASSPATH is empty The system variable PATH contains the jdk /bin directory (with javac.exe) As I understand it ant.exe creates its own classpath using JAVA_HOME to find resources such as those in the tools.jar and it is this javac that is used. Workaround: JDK 1.4.2_03 works perfectly start to finish. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]