Installed Appium 1.4.13.1, and linked with Anroid phone, and running selenium script, met with launch appium session error: Failed to start an Appium session, err was: Error: ‘java -version’ failed. Error: spawn ENOENT.
Check by cmd commend:
cd java -version
java version “1.8.0_112”
Java™ SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot™ 64-Bit Server VM (build 25.112-b15, mixed mode)
And have build system path for JAVA_HOME and Path, still met this error.