ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BC Holmes <>
Subject Re: IBM JDK1.1.8 and sourcepath
Date Fri, 16 Mar 2001 19:38:02 GMT

Brendon Mclean wrote:
> I am trying to get Ant to work with IBM JDK 1.1.8 but I keep getting the
> following:
>     [javac] Modern compiler is not available - using classic compiler
>     [javac] javac: invalid flag: -sourcepath
>     [javac] use: javac
> [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
> path][-nowrite][-deprecation][-d dir][-J<runtime flag>]
> I presume it is because the IBM JDK does not support this directive, but
> assumes the sources are located from the runtime dir.  Am I doing something
> wrong or is the IBM JDK not supported.

     I saw that error a number of times with the IBM JDK 1.1.8 on a
Windows machine; if I recall correctly, it only manifested ifself if the
CLASSPATH ended with a '\'.  (it also happened when I typed javac at the
command line with the same CLASSPATH).

BCing you

View raw message