On Thu, 31 Jan 2002, Zhendi Su <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to