accunax.blogg.se

How to install maven in linux
How to install maven in linux





how to install maven in linux

Make sure to download the latest stable release which now 3.8.1 We can download Maven directly from the official website. Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)Īs we can see, the installed version of JDK is 1.8.0_261. Java(TM) SE Runtime Environment (build 1.8.0_261-b12) We can type the following commands to check which JDK version is installed on our machine: Another important thing to keep in mind is that:Īpache Maven 3.3.1+ requires JDK 1.7 or aboveĪpache Maven 3.2.1->3.2.5 requires JDK 1.6Īpache Maven 2.2 to 3.1.1 requires JDK 1.5Īpache Maven 2.0 to 2.1 requires Java 1.4 Please refer to how to install on Windows 10 for more details. So, before installing Maven on Windows 10, we need to make sure that Java JDK is installed and the JAVA_HOME environment variable is configured on our machine.

how to install maven in linux

However, Maven requires JDK to perform some important operations such as code compilation. The installation process of Apache Maven is quite simple, we just need to extract the Maven’s zip file and set up maven environment variables. Note: We have also written a nice article on how to install maven on mac. To build a project, Maven uses its project object model (POM) and a set of plugins. In short, Maven is a build automation and dependency management tool for Java based applications. In this quick tutorial, we are going to highlight how to install Maven on windows 10.







How to install maven in linux