Ok, so I'm trying to get the original assembly of NME sample files on an Android device.
I can build for platforms like HTML5, Flash, and Windows, but I can't get them on Android. I always get errors that say:
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"
Good - obvious enough? But I checked, double-checked, restarted, edited the environment variables and made absolutely sure that the JAVA_HOME variable actually points to the JDK.
Any explanation?
source share