ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: javac: invalid flag -sourcepath???
Date Mon, 04 Feb 2002 09:43:10 GMT
On Thu, 31 Jan 2002, Zhendi Su <rachael.su@oracle.com> wrote:

> I am trying to compile some .java files and my task looks like:

You are trying to use JDK's 1.1 compiler while running in a 1.2 JVM.
Ant uses comman line switches that match the version of JDK it is
running on, -sourcepath didn't exist in 1.1 but Ant will use it as it
is running on a 1.2 VM.

Fix: Use the JDK 1.1 java executable to run Ant.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message