ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Lynn <ml...@ceon.co.uk>
Subject building ant under Windows NT 4 with JDK 1.3
Date Tue, 13 Jun 2000 13:04:14 GMT
Everyone,

I have downloaded the source code for Ant, because the binary version is
unavailable. When I compile it on Windows NT 4 in the DOS Prompt, with
JDK1.3, I get the following errors:

... Compiling Ant Classes
src\main\org\apache\tools\ant\taskdefs\Javac.java:420: cannot resolve symbol
symbol  : class Main
location: package javac
        sun.tools.javac.Main compiler =
                       ^
src\main\org\apache\tools\ant\taskdefs\Javac.java:421: cannot resolve symbol
symbol  : class Main
location: package javac
            new sun.tools.javac.Main(jos, "javac");
                               ^
src\main\org\apache\tools\ant\taskdefs\Rmic.java:130: cannot resolve symbol
symbol  : class Main
location: package rmic
        sun.rmi.rmic.Main compiler = new sun.rmi.rmic.Main(System.out,
"rmic");
                    ^
src\main\org\apache\tools\ant\taskdefs\Rmic.java:130: cannot resolve symbol
symbol  : class Main
location: package rmic
        sun.rmi.rmic.Main compiler = new sun.rmi.rmic.Main(System.out,
"rmic");
                                                     ^
4 errors


My CLASSPATH is:
d:\www\FTPBean.jar;c:\Program Files\Java Plug-in
1.1\lib\swingall.jar;d:\junit3.2\junit.jar;d:\jdk1.2.2\jre\lib\jmk.jar;d:\we
blogic\lib\weblogic451sp7boot.jar;
d:\weblogic\lib\weblogic451sp7.jar;%MWA%\dxml.jar;%MWA%\ldapjdk.jar;%MWA%\xm
l4j.jar;d:\weblogic\lib\weblogicaux.jar;d:\weblogic\lib\weblogicbeans.jar;d:
\weblogic\classes;d:\orant\jdbc\lib\classes111.zip;d:\jdk1.3\jre\lib\rt.jar;
.

I have recently installed JDK1.3, is JDK1.2.2 required?
I don't have classes.zip on my classpath, or perhaps RMI has changed from
being in sun to javax? I would be very grateful of any suggestions as to how
I can get this to compile.

Thanks,
Michael.

Mime
View raw message