ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klara Ward <kl...@appeal.se>
Subject ant and softlinks in cygwin
Date Mon, 10 Feb 2003 12:27:40 GMT
I tried to run the javac task when my javadir was a softlink made in 
cygwin, and it didn't work.
Ant started, which it didn't when I tried having the javadir as a 
windows shortcut, but javac didn't work:

    [javac] Modern compiler is not available - using classic compiler
    [javac] Compiling 265 source files to 
C:\views\MI_VIKING_CROSIS_klara\jrocki
t\build\win32-j2se1.4.1\debug\classes

BUILD FAILED

c:\views\MI_VIKING_CROSIS_klara\jrockit\build\win32-j2se1.4.1\debug\..\..\..\mak
e\classes\build.xml:206: Cannot use classic compiler, as it is not 
available A c
ommon solution is to set the environment variable JAVA_HOME to your jdk 
directory.


This is the softlink.

lrwxrwxrwx    1 Administ None          100 Feb 10 13:24 java141 -> 
java141_01

ant is started with this java from withing a .cmd file that is run in 
cygwin.

neither ANT_HOME nor JAVA_HOME has been set.

Klara




Mime
View raw message