{ "id": "149254", "key": "TIMOB-19107", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-30T20:09:15.000+0000", "created": "2015-06-29T22:20:20.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-4.1.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-02T17:46:40.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building for Windows with 64-bit Java the build fails at the encryption stage. Running the command the CLI uses prints out the error \r\n{code}\r\n[INFO] Encrypting JavaScript files: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150629125430\\windows\\titanium_prep.win32.exe \"55769Appcelerator.\r\npkgTest\" \"C:\\Users\\WINDO_~1\\AppData\\Local\\Temp\\pkgTest\\Assets\" \"alloy/CFG.js\" \"app.js\" \"alloy/backbone.js\" \"alloy/constants.js\" \"alloy/controllers/Bas\r\neController.js\" \"alloy/controllers/index.js\" \"alloy/styles/index.js\" \"alloy/sync/localStorage.js\" \"alloy/sync/properties.js\" \"alloy/sync/sql.js\" \"allo\r\ny/underscore.js\" \"alloy/widget.js\" \"alloy.js\" \"_app_props_.json\" \"_app_info_.json\"\r\n[ERROR] Failed to encrypt JavaScript files\r\n[ERROR] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable.\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Make sure a 64-bit Java is set as your JAVA_HOME environment variable\r\n2. Build a Windows platform app that will use encryption {{appc run -p windows -T wp-device --build-only}}\r\n\r\nh5.Actual result\r\n\r\nThe build will fail\r\n\r\nh5.Expected result\r\n\r\nThe build should pass", "attachment": [], "flagged": false, "summary": "Windows: Encryption fails with 64-bit Java", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150629125430\r\njdk1.7.0_80 64-bit", "closedSprints": [ { "id": 436, "state": "closed", "name": "2015 Sprint 13 Windows", "startDate": "2015-06-20T23:02:43.965Z", "endDate": "2015-07-04T23:02:00.000Z", "completeDate": "2015-07-06T14:03:22.174Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "356327", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fmiao] [~kkolipaka] [~msamah] can one of you take a look?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-29T23:25:38.000+0000", "updated": "2015-06-29T23:25:38.000+0000" }, { "id": "356349", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note: Unable to reproduce using 64bit jdk1.7.0_80 and jdk1.7.0_79 using appc 4.0.2. Will investigate further with versions indicated here.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-30T04:41:04.000+0000", "updated": "2015-06-30T04:46:50.000+0000" }, { "id": "356418", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/340", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-30T17:13:22.000+0000", "updated": "2015-06-30T18:10:27.000+0000" }, { "id": "356753", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150702030940\r\nAppc Studio: 4.1.0.201507010234\r\nJava 1.7 64-bit\r\n\r\nWhen building with 64-bit Java set as JAVA_HOME the build does not fail\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-02T17:46:35.000+0000", "updated": "2015-07-02T17:46:35.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }