I've searched thoroughly the Internet and haven't yet found the answer to my problem. I've environment variables set up properly, that is:
- JAVA_HOME is pointing to D:\Dependencies\jdk-7u80--x64
- PATH has %JAVA_HOME%\bin as the location to look for files
The error return message states clearly:
D:\Dependencies\android-sdk_r24.3.4-windows\android-sdk-windows\tools\ant\build. xml:716: The following error occurred while executing this line:
D:\Dependencies\android-sdk_r24.3.4-windows\android-sdk-windows\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:\Dependencies\jdk-7u80--x64"
I have already tried every single combination of both vriables, yet cannot get the project to build on 'ant debug'. That is: a simple phonegap project.
I AM NOT RUNNING ECLIPSE. I AM RUNNING IT VIA CMD on Win7.
echoing these variables in cmd returns them correctly (that is, as they should work)
Variables are system-level, not user-level