![android - ERROR: JAVA_HOME is set to an invalid directory: /Library/Java /JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home - Stack Overflow android - ERROR: JAVA_HOME is set to an invalid directory: /Library/Java /JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home - Stack Overflow](https://i.stack.imgur.com/TEmgU.png)
android - ERROR: JAVA_HOME is set to an invalid directory: /Library/Java /JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home - Stack Overflow
![Setting JAVA_HOME on Mac OS. This was originally posted in 2013 on… | by Barry Carroll | Zendesk Engineering Setting JAVA_HOME on Mac OS. This was originally posted in 2013 on… | by Barry Carroll | Zendesk Engineering](https://miro.medium.com/v2/resize:fit:1400/1*H4drlhrdIfC2ityL2aQknw.png)
Setting JAVA_HOME on Mac OS. This was originally posted in 2013 on… | by Barry Carroll | Zendesk Engineering
![android studio - JAVA_HOME is set to an invalid directory, Please set the JAVA_HOME variable in your environment to match the location of your Java installation - Stack Overflow android studio - JAVA_HOME is set to an invalid directory, Please set the JAVA_HOME variable in your environment to match the location of your Java installation - Stack Overflow](https://i.stack.imgur.com/dGxLC.png)
android studio - JAVA_HOME is set to an invalid directory, Please set the JAVA_HOME variable in your environment to match the location of your Java installation - Stack Overflow
![visual studio code - ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_102 - Stack Overflow visual studio code - ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_102 - Stack Overflow](https://i.stack.imgur.com/yVmSn.png)