Make sure that JAVA_HOME is set to the location of your JDK , e.g. export JAVA_HOME=/usr/java/jdk1. 5.0_02 and that $JAVA_HOME/bin is in your PATH environment variable. Run mvn –version to verify that it is correctly installed.
Read moreHow do you run a flutter command on a Mac?
If you are using zsh, you need to follow the below steps in mac.
Read moreHow do I fix mvn command not found?
setx MAVEN_HOME “C:\Program Files\apache-maven-3.6. 1” setx PATH “%PATH%;%MAVEN_HOME%\bin”; You can check if these are set appropriately by running the commands: java -version and mvn –version on the command prompt.
Read moreHow do I use flutter doctor on Mac?
Install Android Studio
Read moreHow do I install Z shell?
Installing ZSH on Ubuntu
Read moreWhere is Zshrc in Mac?
zshrc file on a Mac? The . zshrc file will be located in the users home directory, or ~/ , and this user . zshrc file is where you’d place customizations to the z shell.
Read moreWhat is zsh in command line?
Zsh, also known as the Z shell, extends functionality of the Bourne Shell (sh), offering newer features and more support for plugins and themes . Starting with MacOS Catalina in 2019, Zsh became the default login and interactive shell in Mac machines.
Read more