gpt4 book ai didi

java - 安装 Apache Maven

转载 作者:行者123 更新时间:2023-11-30 06:11:41 24 4
gpt4 key购买 nike

在 Windows 上,我尝试按照 here 中的说明安装 Maven . “将创建的目录 apache-maven-3.3.9 的 bin 目录添加到 PATH 环境变量” 的步骤对我来说意义不大。请成功安装 Maven 的人解释一下这一步涉及的内容。我已经设置了 JAVA_HOME 环境变量。

最佳答案

在您提供的链接中,有更明确的说明:

Adding to PATH: Add the unpacked distribution’s bin directory to your user PATH nvironment variable by opening up the system properties (WinKey + Pause), selecting the “Advanced” tab, and the “Environment Variables” button, then adding or selecting the PATH variable in the user variables with the value C:\Program Files\apache-maven-3.3.9\bin. The same dialog can be used to set JAVA_HOME to the location of your JDK, e.g. C:\Program Files\Java\jdk1.7.0_51

Open a new command prompt (Winkey + R then type cmd) and run mvn -v to verify the installation.

你试过吗?

关于java - 安装 Apache Maven,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33817730/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com