{ "id": "138290", "key": "TIMOB-17875", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-07T22:40:21.000+0000", "created": "2014-10-20T18:12:55.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.4.1" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T18:37:56.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5. Problem description\r\nCannot build a project on Android from CLI if JDK 1.8.0 is installed.\r\n\r\nh5. Steps to reproduce\r\nInstall JDK 1.8.0 (reproduced on MAC OS X Yosemite)\r\n1. Create a new project\r\n2. From CLI, go to the project folder root and build for Android.\r\n{code}\r\nti build -p android -T device\r\n{code}\r\n\r\nResult: build process fails. Error message:\r\n{code}\r\n[ERROR] JDK version 1.8.0 detected, but only version <=1.7.x is supported\r\n{code} \r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: cannot build on Android if JDK 1.8 is installed", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.4.0.GA\r\nCLI 3.4.0.GA\r\nJDK 1.8.0\r\nMac OS X Yosemite", "comment": { "comments": [ { "id": "328777", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "body": "This issue is reproducible through studio also while packaging as well as running on an android emulator.", "updateAuthor": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-10-21T09:28:22.000+0000", "updated": "2014-10-21T09:28:22.000+0000" }, { "id": "328787", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Interesting that you see it in studio as well. I don't have any problems building for devices from within studio, but I get this problem when I use the CLI. I have Java 8 update 20 on OS X.\r\n\r\nThe Compatibility Matrix (http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-JavaDevelopmentKit) indicates that JDK 8, latest revision is supported on OS X. Technically, there's a slightly newer version of JDK 8 (update 25). But I can't imagine that's the problem here.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-21T12:31:14.000+0000", "updated": "2014-10-21T12:31:14.000+0000" }, { "id": "331216", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am seeing this failure too.\r\nI have java 1.8 and java 1.6 on yosemite\r\n\r\nGives me error:\r\n{code}\r\n[ERROR] JDK version 1.8.0 detected, but only version <=1.7.x is supported\r\n{code}\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.4.1.v20141105104918\r\nCLI : 3.4.1-alpha\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nNexus 9 - Android 5.0\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-07T18:54:19.000+0000", "updated": "2014-11-07T19:08:49.000+0000" }, { "id": "331251", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pushed fix to master and cherry-picked fix to 3_4_1 and 3_4_X branches.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-11-07T22:40:21.000+0000", "updated": "2014-11-07T22:40:21.000+0000" }, { "id": "331414", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nNo failures are seen & app builds successfully while building from CLI if JDK 1.8 is installed.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.4.1.v20141107144118, 3.4.2.v20141110100119, 3.5.0.v20141110100126\r\nCLI : 3.4.1-alpha\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nNexus 9 - Android 5.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-10T19:08:41.000+0000", "updated": "2014-11-10T19:08:41.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }