Set java_home for maven on mac

broken image
broken image
broken image

Java -version should display the right java version $JAVA_HOME should point to the JDK installation folder So, before moving ahead with the installation, we need to ensure that JAVA_HOME environment variable is set. So, to run its commands without issues, we need to make sure first and foremost that Java is installed on our mac and properly configured. Maven as a dependency management tool is written in Java. In general, installing Mvn on Mac is a very simple process and takes less than five minutes. Install Maven on Mac OSĪpache Maven is renowned for its ease of installation. In this short tutorial, we are going to shed light on how to install Maven on Mac operating system.įeel free to check our article on how to install maven on windows 10.