![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
![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/DImw6.png)
android - ERROR: JAVA_HOME is set to an invalid directory: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home - Stack Overflow
JAVA_HOME is set to an invalid directory however it has been well established · Issue #124013 · flutter/flutter · GitHub
![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)