Appium cannot accces JAVA_HOME location (folder does exist but Appium cannot find it)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the JAVA_HOME error with Appium-mac-1.19.1 on macOS Catalina using Java 9.0.4, comparing the manually configured path with /usr/libexec/java_home. Done means identifying whether the failure is caused by Appium configuration or permissions and documenting a confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100