When building / compiling a Java application with Ant, the warning: warning: unmappable character for encoding UTF8 indicates, that the compiler cannot recognize characters on the source files, this is normaly due of using a diferent encoding in the compiler (javac ant task). This can be solved by specifying the same encoding used on the [...]
Categoría: java
Unable to find a javac compiler
16 febrero, 2010
El otro día programando con Eclipse y Ant tuve un error que me supuso un gran quebradero de cabeza. Concretamente el error decía: [javac] BUILD FAILED: [build file location here] Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK La solución es la siguiente: Dentro [...]