Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5010] Latest version of Java unusable for building Android projects

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:16:25.000+0000
Affected Version/sRelease 1.8.0
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroid, androidbuild, build, cb-verified, java
ReporterAlan Vaghti
AssigneeChris Barber
Created2011-08-15T11:18:52.000+0000
Updated2013-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

Comments

  1. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  2. Samuel Dowse 2013-10-29

    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.

JSON Source