
$ sudo mv jdk-13.0.1.jdk /Library/Java/JavaVirtualMachines/ I prefer to keep my JDK setup at “/Library/Java/JavaVirtualMachines/” directory. Java 13 GA Release URL: Then extract it to the directory of your choice. Go to the latest JDK GA release page and download the tar file for Mac OS.

It’s free and you don’t have to worry about licensing that comes with Oracle JDK build. So we will have to first install Java and then maven into our Mac OS. But, in this tutorial, we will learn how to install Maven on Mac OS without using any other software.

We can install Maven on Mac OS using a package manager such as HomeBrew or through XCode Command Line Tools. Maven is the most widely used build and project dependency management tool for Java-based applications.
