好的,所以我正在尝试将 NME 示例文件的初始版本构建到 Android 设备上。
我可以为 HTML5、Flash 和 Windows 等平台构建,但我无法在 Android 上使用它 - 我总是收到错误消息:
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.
Is is currently set to "C:\Program Files (x86)\Java\jre7"
好的 - 够明显了吧?但我已经检查、重新检查、重新启动、编辑了环境变量,并绝对确定该JAVA_HOME
变量实际上指向 JDK。
有什么解释吗?