Vote count:
0
I have been trying to get an automated system for the video game minecraft to work. I have to compile it myself, and after following the guide EXACTLY, I get this when running the build.xml with ANT. Below is the code and the error in it.
Buildfile: C:\Users\Arm\workspace\DarkBot\build.xml
init:
clean:
[delete] Deleting directory C:\Users\Arm\workspace\DarkBot\bin
compile:
[mkdir] Created dir: C:\Users\Arm\workspace\DarkBot\bin
BUILD FAILED
C:\Users\Arm\workspace\DarkBot\build.xml:21: 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.
It is currently set to "C:\Program Files (x86)\jre1.8.0_25"
What am I doing wrong? Also I can assure that JAVA_HOME points to the correct area, as suggested in the error message.
asked 43 secs ago
Java ANT Compile Error
Aucun commentaire:
Enregistrer un commentaire