本文介绍了在windows 7 64bit上安装maven的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个Tapestry Skeletion项目。
我遵循这些指南:
,
和互联网上的其他指南。
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?
推荐答案
- 在资源管理器中导航到Maven目录
- 转到目录IN bin
- 复制地址栏中的地址(必须以bin结尾)
- 转到开始并输入env
- 选择编辑系统环境va riables
- 找到PATH变量,它必须具有Java的现有值,因为Maven需要Java。
- 追加a; +粘贴路径。
- 重启以更新系统
- 在cli中运行mvn install。
- navigate in explorer to the Maven directory
- go to a dir IN the bin
- copy the address in the address bar(must end with bin)
- go to Start and type in "env"
- Select "edit the system evironment variables"
- find the PATH variable which must also have an existing value for Java as Maven needs Java.
- append a ; + paste the path.
- restart to update system
- run "mvn install" in the cli.
Yucca
这篇关于在windows 7 64bit上安装maven的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!