Project: titanium
Issue TIMOB-19107: Windows: Encryption fails with 64-bit Java
h5.Description When building for Windows with 64-bit Java the build fails at the encryption stage. Running the command the CLI uses prints out the error {code} [INFO] Encrypting JavaScript files: C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150629125430\windows\titanium_prep.win32.exe "55769Appcelerator. pkgTest" "C:\Users\WINDO_~1\AppData\Local\Temp\pkgTest\Assets" "alloy/CFG.js" "app.js" "alloy/backbone.js" "alloy/constants.js" "alloy/controllers/Bas eController.js" "alloy/controllers/index.js" "alloy/styles/index.js" "alloy/sync/localStorage.js" "alloy/sync/properties.js" "alloy/sync/sql.js" "allo y/underscore.js" "alloy/widget.js" "alloy.js" "_app_props_.json" "_app_info_.json" [ERROR] Failed to encrypt JavaScript files [ERROR] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable. {code} h5.Steps to reproduce 1. Make sure a 64-bit Java is set as your JAVA_HOME environment variable 2. Build a Windows platform app that will use encryption {{appc run -p windows -T wp-device --build-only}} h5.Actual result The build will fail h5.Expected result The build should pass
Story points: 3