Install Apache Maven 3.9.9 on Window

1. Download Maven

  1. Visit the Apache Maven Download Page:

Go to the official Apache Maven website: Apache Maven 3.9.9 Download.
2. Download the Binary Distribution:
在这里插入图片描述

在这里插入图片描述

2. Install Maven on Windows

1. Extract the Archive:

Locate the downloaded .zip file and extract it to your preferred installation directory (e.g., C:\Program Files\Apache\Maven).

在这里插入图片描述

2.Set Environment Variables:

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

  1. MAVEN_HOME:

Right-click on This PC or Computer on the desktop or in File Explorer and select Properties.
Click on Advanced system settings.
In the System Properties window, click on the Environment Variables button.
In the Environment Variables window, click New under System variables.
Set the variable name as MAVEN_HOME and the value to the path where you extracted Maven (e.g., C:\Program Files\Apache\Maven\apache-maven-3.9.9).

在这里插入图片描述

3.Update PATH:

In the same Environment Variables window, find the Path variable in the System variables section and select it.
Click Edit, then New, and add the following:

在这里插入图片描述
在这里插入图片描述

%MAVEN_HOME%\bin

在这里插入图片描述

在这里插入图片描述

Click OK to close all dialog boxes.

Verify Installation:

Open a Command Prompt window (search for cmd in the Start menu) and run:

mvn -version

You should see output indicating the installed Maven version, which confirms that Maven is installed correctly.
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值