Run Ant Compilation Error [message #592923] |
Sun, 13 April 2003 00:26 |
Qian Su Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm new with eclipse. I opened a working project in eclipse, and tried to
use "run ant" on "build.xml", it gives me an error msg:
"Modern compiler is not available - using classic compiler
Build exception: C:\eclipse\ex2\build.xml:68: Cannot use classic compiler,
as it is not available A common solution is to set the environment
variable JAVA_HOME to your jdk directory."
However, I know that the variable JAVA_HOME is set up correctly in my
system. And, if I run ant from command line, it works. Aslo, if I create
a new external tool that runs from local installed ant and it works!
I believe it must be some configuration issue. Any suggestions?
Thanks.
Qian
|
|
|
Powered by
FUDForum. Page generated in 0.02631 seconds