

If you are Mac user, you can follow what I did to download and install JDK 13 on your Mac computer. To learn JDBC, you need to have JDK installed on your computer. Use Homebrew to install Maven, the latest version is: Maven 3.6. This section describes how to download and install JDK on a macOS computer. Use Homebrew to install, the version is the latest version of OpenJDK (Java 14): ➜ ~ brew install javaįor the many use cases depending on an older version (commonly Java 8), the AdoptOpenJDK project makes it possible with an extra step. If the version information is output, the installation is successful ➜ ~ mvn -vĪpache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Enter source ~/.bash_profile in the terminal to make the file effectiveĤ) Type :mvn -v to check whether the installation is successful. Click ESC key and enter :wq to save the file and exitĮ.

Enter vim ~/.bash_profile on the terminalĮxport M2_HOME =/Users/ylspirit/Downloads/apache maven - 3.6.3ĭ.

Then according to the operating system used, download the corresponding JDK, I am using mac, so I choose the max os version.Īfter the download is complete, install it.Ģ) Open the terminal, type java -version to check whether the installation is successful, if the version information is output, the installation is successful.Ģ) When the download is complete, double-click the file to unzip or use the tar command to unzip the fileĪssuming the installation package path to /Users/ylspirit/Downloads/apache maven - 3.6.3Ī. JDK version, currently the most used JDK version is 8, so here I also choose jdk 1.8.
