Command 'java' not found during running appium

Posted shenfei2031

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Command 'java' not found during running appium相关的知识,希望对你有一定的参考价值。

Question:

When Execution code:
driver = new RemoteWebDriver(new Uri("http://127.0.0.1:4723/wd/hub"), capabilities); prompt "Encountered internal error running command: Error: Command ‘java‘ not found. Is it installed? "

 

Answer:

Remember to reinstall JAVA jre/jdk, restart your computer as well.

以上是关于Command 'java' not found during running appium的主要内容,如果未能解决你的问题,请参考以下文章

unable to execute 'gcc': No such file or directory error: command 'gcc' failed with

Command 'java' not found during running appium

error: command 'gcc' failed with exit status 1

[symonfy] An error occurred when executing the "'cache:clear --no-warmup'"

How to fix 'sudo: no tty present and no askpass program'以及硬盘序列号的读写

VB如何点击command就自动添加一个label控件