Não estou conseguindo usar o ant com o eclipse.
Quando eu rodo o ant para compilar os arquivo ele dá o seguinte erro:
Buildfile: C:/eclipse/workspace/ProjetoStruts/ant/build.xml
compile:
[javac] Compiling 2 source files to C:eclipseworkspaceProjetoStrutsWebContentWEB-INFclasses
[javac] Modern compiler not found - looking for classic compiler
[javac] BUILD FAILED: file:C:/eclipse/workspace/ProjetoStruts/ant/build.xml:42: Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.
Total time: 828 milliseconds
Alguém sabe como faz para solucionar este problema?
