Cornellious,

What is happening here is that you are running Ant under a 1.2 or later JDK
but it is finding the javac library form a 1.1 JDK. You will need to examine
your classpaths, Java executables, etc.

BTW, have you read the javadoc comment for the Main class :-)?

Conor


> -----Original Message-----
> From: Cornellious Mann [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 21 August 2001 1:27 AM
> To: [EMAIL PROTECTED]
> Subject: Javac and ant.Main
>
>
> I am trying to run ant through the Main class
> interface instead of the binary.  When I do this the
> javac task fails with this error...
> javac: invalid flag: -sourcepath
>
> Has anyone seen something like this.  Thaks for any help.
>
> =====
> Regards,
> Cornellious Mann
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>

Reply via email to