Please help me. i trying create simple game in cocos2d-x. but when i compile my project i get error like this : Please help me. i trying create simple game in cocos2d-x. but when i compile my project i get error like this

    BUILD FAILED
D:\Android\sdk\tools\ant\build.xml:597: The following error occurred while executing this line:
D:\Android\sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
D:\Android\sdk\tools\ant\build.xml:730: 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 "D:\JAVA"

Total time: 2 seconds
Error running command, return code: 1.
D:\cocos2d-x\GAME>


i am sorry for my bad english :(

