Re: Bug#135794: ant: Modern compiler is not available
Earlier, I reported that ant was giving me fits:
compile:
[javac] Modern compiler is not available - using classic compiler
[javac] Compiling 1 source file to /tmp/foo
BUILD FAILED
/tmp/foo/build.xml:4: Cannot use classic compiler, as it is not
available A common solution is to set the environment variable
JAVA_HOME to your jdk directory.
Turns out that the link I had made from /usr/lib/j2re1.3/lib/ext to
/usr/share/java was causing this problem. Since I removed the link,
ant has been working fine.
--
Bill Wohler <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
Reply to: