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>] file.java...
>
> 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