ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: javac: invalid flag -sourcepath???
Date Mon, 04 Feb 2002 09:43:10 GMT
On Thu, 31 Jan 2002, Zhendi Su <> 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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message