java-client
java-client copied to clipboard
Appium cannot accces JAVA_HOME location (folder does exist but Appium cannot find it)
Error message:" Original error: The JAVA_HOME location ' /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home' must exist" Appium version: Appium-mac-1.19.1 Java verion: 9.0.4 Machine: Mac OS Catalina. Version 10.15.7.
I manually set the JAVA_HOME variable in Appium configuration. The above folder exists and can be accessed on terminal via the exact path. I also tried a variation "/usr/libexec/java_home" and got the same error.
Right now I am wondering if this issue has something to do with Appium not having permission to access the folder. Help would be much appreciated! Thank you.