{ "id": "90594", "key": "TIMOB-8800", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13402", "description": "Sprint 2012-10 Core", "name": "Sprint 2012-10 Core", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-08T12:35:09.000+0000", "created": "2012-04-19T14:04:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17749", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "93110", "key": "TIMOB-9504", "fields": { "summary": "Android: Android builder.py script fails with Ti 2.1 SDK", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31122", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118600", "key": "TISTUD-5270", "fields": { "summary": "Confirm support for JDK 7", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-08T00:41:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "We currently do not check to make sure the user has jdk 1.6.0 installed in our build scripts. We should add this feature since there are known issues with using jdk 1.7.0 (at least for windows). We need to determine the following requirements in this task, and then notify studio in regards to these new requirements.\r\n\r\n- Minimum/Maximum version of jdk required\r\n- Where to grab this particular version of sdk (from oracle?)\r\n- Narrow down if the jdk requirements affect ALL platforms (linux,osx, windows). We know there are issue with jdk 1.7.0 in windows, but this needs to be verified in other platforms\r\n- Mechanism for reporting this error from the build scripts (ideally studio would be able to take this error and prompt the user to resolve it accordingly in studio)\r\n\r\nAfter this ticket has been resolved, we should file a separate ticket on the studio side for them to take action (and probably sync up with them regarding the requirements).\r\n", "attachment": [], "flagged": false, "summary": "Android: Failure building with Java 1.7.0 (Java 7)", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "193417", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just a few notes for myself...\r\n\r\n* On my Lion system, {{java -version}} and {{javac -version}} both report 1.6.0_31. That's the Apple-supplied update for the recent [Flashback scare|http://support.apple.com/kb/HT5242]. \r\n\r\n* Oracle's JDK download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html\r\n\r\n* The latest JDK for \"Java SE 6\" (as-of this moment) is 1.6.0_32. The jump from _31 to _32 does not appear to be related to a security bug.\r\n\r\n* The latest JDK, period, is for \"Java SE 7u4\", and the latest JDK therein is thus 1.7.0_4. To test/use this on a Mac, you'd have to get it manually.\r\n\r\n* In OS X, use Applications -> Utilities -> Java Preferences to set the preferred JVM.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-05-02T09:09:46.000+0000", "updated": "2012-05-02T09:22:26.000+0000" }, { "id": "193991", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I've changed the title to reflect the original problem, and since I decided to go about this ticket in such a way as to support Java 7.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-05-07T12:46:26.000+0000", "updated": "2012-05-07T12:46:26.000+0000" }, { "id": "193994", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\r\n\r\nThere are basically two phases of testing.\r\n\r\nh4. The \"Did Bill Break Anything\" Phase\r\n\r\n* Build the SDK (i.e., {{scons}}) with Java 1.6 (what you likely have on your system, so basically you're testing that I didn't break what already worked.)\r\n\r\n* Build and test a Titanium Mobile project in Android with Java 1.6.\r\n\r\n* Rinse and repeat for Ubuntu and Windows 7.\r\n\r\nThen ...\r\n\r\nh4. The \"Java 7\" Phase\r\n\r\n* Download and install JDK for Java 7 (i.e., 1.7 in the weird world of Java numbers) http://www.oracle.com/technetwork/java/javase/downloads/index.html.\r\n\r\n* Build (i.e., {{scons}}) the sdk with jdk 1.7.\r\n\r\n* Build and test a Titanium Mobile project in Android with jdk 1.7.\r\n\r\n* Rinse and repeat on Ubuntu and Windows 7.\r\n\r\nNOTE: Testing JDK 1.7 in OS X means using Applications -> Utilities -> Java Preferences to set the preferred to Java 7 before building and testing. In Windows and Ubuntu it means setting the JAVA_HOME environment variable to point to the jdk 1.7 folder.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-05-07T12:52:27.000+0000", "updated": "2012-05-07T12:52:27.000+0000" }, { "id": "193995", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "After this is ready, we should turn to the Studio team and let them know they can trust prereq.py, perhaps even on their Preferences page for Titanium Mobile (i.e., to give a warning if prereq.py exits with exit code !=0).", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-05-07T12:55:39.000+0000", "updated": "2012-05-07T12:55:39.000+0000" }, { "id": "409765", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as resolved.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-08T00:41:48.000+0000", "updated": "2017-03-08T00:41:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }