Affects Version/s: None
I am trying to build a basic Android application using Titanium Studio using the Single Window application template.
I am borrowing a Windows 7 machine from Russ McMahon which already had Titanium Studio installed some time ago. I updated his Titanium Studio to the latest stable version as of today. (3.1.0.GA I believe) to the point where no more updates are available.
I installed the latest Android SDK and NDK (20130514 (installed API 17 and 8), NDK r8e) and setup the paths in Titanium Studio Preferences.
After creating a new Single Window project, I am getting the following error when trying to build for the Android Emulator. (I did create an Emulator image.)
Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA
[ERROR] : "Missing Java SDK. Please make sure Java SDK is on your PATH
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
[ERROR] Application Installer abnormal process termination. Process exit value was 1
What is particularly strange is when I do a brand new Windows 8 installation in Virtual Box with a fresh Titanium install and the same Android SDK/NDK, I don't get this "Missing Java SDK" error. I was asked to report this bug. (You might need to talk to Russ about details of his machine setup.)
Russ did confirm his Java is installed and in his path and wanted me to include the below.
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre7\bin\;C:\Program Files