码迷,mamicode.com
首页 > 其他好文 > 详细

maven 安装设置方法

时间:2016-04-14 10:37:38      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

以下摘自官网指导

Windows Tips

  • Check environment variable value e.g.
  1. echo %JAVA_HOME%
  2. C:\Program Files\Java\jdk1.7.0_51
  • Adding to PATH: Add the unpacked distribution’s bin directory to your user PATH environment 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.

maven 安装设置方法

标签:

原文地址:http://www.cnblogs.com/zhengchunhao/p/5390105.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!