当我尝试从工作室打包模块时,Titanium studio无法找到Javac编译器。但是能够从终端中的build.xml打包。可能是什么问题。
Executing build.xml...
C:\Users\tarak\AppData\Roaming\Titanium\mobilesdk\win32\3.0.3.v20130318143059\module\android\build.xml:166: 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\Appcelerator\Titanium Studio\jre"
答案 0 :(得分:1)
让java home变量指向 jdk 安装,而不是 jre 。