Hi Berin,

It happened to me once. I defined my JAVA_HOME variable to some directory which was
only a symbolic link to jdk1.2 directory. When I changed JAV_HOME to actual
directory which had jdk1.2, it started working.

If you are using symbolic links, try this approach. May be ant does not like
symbolic links.

Thanks,
Ramesh



Berin Loritsch wrote:

> I am running Sun's JDK 1.3.0_01 on Windows 2000.
>
> When I run the build.sh file (through cygwin) I get
> the following results:
>
> Modern compiler is not available - using classic compiler
> Compiling 102 source files to c:\projects\jakarta-ant\build\classes
>
> BUILD FAILED
>
> Cannot use classic compiler, as it is not available A common solution is to set
> the environment variable JAVA_HOME to your jdk directory.
>
> This is frustrating.  I am trying to update junitreport to use Xalan 2
> but I can't get it to build....
>
> I will try without Cygwin, but the distributed version of Ant runs against
> Cygwin.  Anybody have some pointers?

Reply via email to