I've seen a few people having this exact error when using titanium extension in VS Code but I have yet to see a definitive solution. Any thoughts would be greatly appreciated.
When I click "Play" to try to run my "hello world" program I see this error: original error
[ERROR] JDK (Java Development Kit) not installed.
[ERROR] If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly set.
[ERROR] The JDK is required for Titanium and must be manually downloaded and installed from http://appcelerator.com/jdk.
In environment variables I set java_home by selecting the appropriate folder:
and set the path to point to the bin directory
if I echo java_home it looks right.
EDIT 5/19/2020
Current appc info
Name = Microsoft Windows 10 Pro
Version = 10.0.18362. All Rights Reserved.
Architecture = 64bit
# CPUs = 8
Memory = 15.9GB
Node.js
Node.js Version = 12.16.3
npm Version = 6.14.4
Appcelerator CLI
Installer = 5.0.0
Core Package = 8.0.0
Titanium CLI
CLI Version = 5.2.2
node-appc Version = 0.2.49
Titanium SDKs
9.0.1.GA
Version = 9.0.1
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\9.0.1.GA
Platforms = android
git Hash = 466c007fd2
git Timestamp = 4/15/2020 21:37
node-appc Version = 0.3.4
Intel® Hardware Accelerated Execution Manager (HAXM)
Installed = yes
Memory Limit = 0 BYTES
Java Development Kit
Not found
Genymotion
Path = not found
Genymotion Executable = not found
Genymotion Player = not found
Home = not found
VirtualBox
Executable = not found
Version = unknown
Android SDK
Android Executable = not found
ADB Executable = not found
SDK Path = not found
Android NDK
NDK Path = not found
NDK Version = not found
Android Platforms
None
Android Add-Ons
None
Android Emulators
None
Genymotion Emulators
None
Connected Android Devices
Samsung Galaxy S10 (preview)
ID = 192.168.80.101:5555
State = device
SDK Version = 10 (android-29)
ABIs = x86
Java Development Kit Issues
× JDK (Java Development Kit) not installed.
If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
set.
The JDK is required for Titanium and must be manually downloaded and installed from
http://appcelerator.com/jdk.
Android Issues
× JDK (Java Development Kit) not found.
If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
set.
The JDK can be downloaded and installed from http://appcelerator.com/jdk.