[TIMOB-5010] Latest version of Java unusable for building Android projects
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:16:25.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | android, androidbuild, build, cb-verified, java |
Reporter | Alan Vaghti |
Assignee | Chris Barber |
Created | 2011-08-15T11:18:52.000+0000 |
Updated | 2013-10-29T20:18:00.000+0000 |
Description
1) Download and install latest Java JDK 7
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
2) Create a new Android project and launch to emulator
Results:
build.log has the following contents
Logfile initialized
[INFO] logfile = C:\Users\alan\My Documents\Titanium Studio Workspace\Hello\build.log
[DEBUG] C:\ProgramData\Titanium\mobilesdk\win32\1.8.0.v20110811101746\android\builder.py simulator Hello C:\Users\alan\android-sdk C:\Users\alan\My Documents\Titanium Studio Workspace\Hello com.appcelerator.hello 17 WVGA854
[INFO] Building Hello for Android ... one moment
[ERROR] JDK version 1.7.0 detected, but 1.6 is required
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Verified working on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201310290757 Titanium SDK, build: 3.2.0 v20131028093244 Java JDK: 7u45 Android Simulator: 2.3.3 Titanium Studio builds and runs the project successfully with no error messages shown.