![how to install maven on windows 10 how to install maven on windows 10](https://i.stack.imgur.com/3pZnk.png)
- How to install maven on windows 10 how to#
- How to install maven on windows 10 upgrade#
- How to install maven on windows 10 code#
- How to install maven on windows 10 zip#
How to install maven on windows 10 how to#
We have seen how to install and configure Maven on Ubuntu, CentOS, and Windows. This should show the version of maven that you have To verify the installation and configuration, Enter the following command in Command prompt.
![how to install maven on windows 10 how to install maven on windows 10](http://marcoparoni.altervista.org/wp-content/uploads/2020/05/Capture-1.png)
![how to install maven on windows 10 how to install maven on windows 10](https://static.packt-cdn.com/products/9781785286124/graphics/6124OS_01_09.jpg)
How to install maven on windows 10 zip#
Then, Download the needed version as a zip file. There are multiple versions of apache maven is available on the official website. Installing Java on windows is straight forward.Īrticle about how to install java on windows Step 2: Download Maven.Īs we already said.
How to install maven on windows 10 code#
Java -version Step 2: Download the Maven binaryĭownload the maven binary code in /opt folder by entering the following command in the console cd /opt/ Then, Verify the java installation by entering the followingĬommand. sudo yum install java-1.8.0-openjdk-devel Install Java by entering the following command. Install Apache Maven on CentOS Pre-requisiteĪs we already said, Apache Maven needs the jdk. So installation of Apache maven on Ubuntu is done. This should give the version of the maven installed. Test the maven setup by checking the version by entering the following command mvn –version Then, publish the configuration by sourcing the file by Now Make the maven.sh executable by entering the following
![how to install maven on windows 10 how to install maven on windows 10](https://www.testingdocs.com/wp-content/uploads/Maven-Version-Windows-11-OS.png)
Save the file and close by pressing ctrl + x then y then For that, create maven.sh file in the /etc/profile.dįolder by entering the following command sudo nano /etc/profile.d/maven.shĪdd the follwong lines in the file. We need to set up the maven environment so that it will beĪvailable as an executable binary. In our case, we are selecting “apache-maven” mv apache-maven-3.6.1/ apache-maven/ Step 4: Configure maven environment. tar -xf apache-maven-3.6.įor the clear and safe communication, always keep binary files in the folder which name is in standard characters. There is multiple version of apache maven is available inĮxtract maven packages by entering the following command. The following command in the console cd /opt/ Step 3: installing Apache mavenĭownload the maven binary code in /opt folder by entering This should through the version of the installed java. Verify the java installation by entering following command in Enter the followingĬommands in the console. Install java because maven needs java to be installed.
How to install maven on windows 10 upgrade#
Sudo apt-get upgrade Step 2: Installing Java Put the following commands in the console.