ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28642] New: - Problems running task javac with Ant1.6.1 and Jdk 1.4.2_04
Date Tue, 27 Apr 2004 23:18:54 GMT
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: dev@ant.apache.org
        ReportedBy: tsteel@atlascold.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message