2013-03-27 3 views
0

티타늄 스튜디오는 모듈을 스튜디오에서 패키지하려고 할 때 Javac 컴파일러를 찾을 수 없습니다. 그러나 터미널의 build.xml에서 패키지 할 수 있습니다. 무엇이 문제 일 수 있습니다. JDK 설치에티타늄 모듈을 패키징 할 때 javac 컴파일러를 찾을 수 없습니다.

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

환경 변수에 JAVA_HOME을 설정 했습니까? [올바른 JAVA 버전] (http://docs.appcelerator.com/titanium/latest/#!/guide/Setting_up_Titanium_Studio-section-30086257_SettingupTitaniumStudio-SystemRequirements)이 있습니까? –

+0

안녕하세요 Josiah, 저는 JAVA_HOME을 두 번 확인했습니다. JDK를 가리키고 있습니다. build.xml을 개미 빌드 할 때 잘 동작합니다. 하지만 스튜디오에서 빌드하려고하면 JAVA_HOME 만 "C : \ Program Files \ Appcelerator \ Titanium Studio \ jre"를 가리 킵니다. – Tarak

답변

1

만들기 자바 홈 변수를 점하지 JRE.

관련 문제