Appium Inspector displaying the wrong JAVA_HOME

Viewed 16

Appium Inspector seems to think my JAVA_HOME is set to C:\Program Files\Java\bin

However, JAVA_HOME is set to C:\Program Files\Java\jdk1.8.0_341

Which is probably why I think I am unable to start the appium session getting this message:

Original error: The 'java.exe' binary could not be found neither in PATH nor under JAVA_HOME (C:\Program Files\Java\bin)

I also have %JAVA_HOME%\bin in my PATH, so I'm unable to figure out why appium is detecting the wrong path for my JAVA_HOME variable. Any help would be appreciated.

0 Answers
Related