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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to