在windows 7 64bit上安装maven [英] Installing maven on windows 7 64bit

查看:127
本文介绍了在windows 7 64bit上安装maven的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个Tapestry Skeletion项目。
我遵循这些指南:
http://maven.apache.org /download.html#Installation
http:/ /juanjoefe.com/tutoriales/instalar-maven-en-windows-7/
和互联网上的其他指南。

I want to create a Tapestry Skeletion Project. I follow to these guide: http://maven.apache.org/download.html#Installation, http://juanjoefe.com/tutoriales/instalar-maven-en-windows-7/ and other guides on the internet.

但是,当我键入mvn --version或mvn -version,我总是收到错误 mvn 未被识别为内部或外部命令,可操作程序或批处理文件。

But, when I type "mvn --version" or "mvn -version", I always receive error "mvn is not recognized as an internal or external command, operable program or batch file.

我的朋友使用Windows 7 x86,他们没有问题。
如何在Windows 7 x64上安装Maven 3.0.3?

My friends use Windows 7 x86, and they had no problem. How can I install Maven 3.0.3 on Windows 7 x64?

推荐答案


  1. 在资源管理器中导航到Maven目录

  2. 转到目录IN bin

  3. 复制地址栏中的地址(必须以bin结尾)

  4. 转到开始并输入env

  5. 选择编辑系统环境va riables

  6. 找到PATH变量,它必须具有Java的现有值,因为Maven需要Java。

  7. 追加a; +粘贴路径。

  8. 重启以更新系统

  9. 在cli中运行mvn install。

  1. navigate in explorer to the Maven directory
  2. go to a dir IN the bin
  3. copy the address in the address bar(must end with bin)
  4. go to Start and type in "env"
  5. Select "edit the system evironment variables"
  6. find the PATH variable which must also have an existing value for Java as Maven needs Java.
  7. append a ; + paste the path.
  8. restart to update system
  9. run "mvn install" in the cli.

Yucca

这篇关于在windows 7 64bit上安装maven的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆