win7 环境安装maven 和 Spring Boot CLI

1.maven

What is it?
  -----------

  Maven is a software project management and comprehension tool. Based on
  the concept of a Project Object Model (POM), Maven can manage a project's
  build, reporting and documentation from a central piece of information.

  Documentation
  -------------

  The most up-to-date documentation can be found at https://maven.apache.org/.

安装步骤:
  1. 下载apache-maven-3.5.0-bin.tar.gz
  2. 解压apache-maven-3.5.0-bin
  3. 保证java jdk已安装
  4. 添加E:\programs\apache-maven-3.5.0-bin\apache-maven-3.5.0\bin 到环境变量PATH
  5. 测试mvn -v,效果如下图


附:
Installing Maven
  ----------------

  1) Unpack the archive where you would like to store the binaries, e.g.:

    Unix-based operating systems (Linux, Solaris and Mac OS X)
      tar zxvf apache-maven-3.x.y.tar.gz
    Windows
      unzip apache-maven-3.x.y.zip

  2) A directory called "apache-maven-3.x.y" will be created.

  3) Add the bin directory to your PATH, e.g.:

    Unix-based operating systems (Linux, Solaris and Mac OS X)
      export PATH=/usr/local/apache-maven-3.x.y/bin:$PATH
    Windows
      set PATH="c:\program files\apache-maven-3.x.y\bin";%PATH%

  4) Make sure JAVA_HOME is set to the location of your JDK

  5) Run "mvn --version" to verify that it is correctly installed.

Maven下载地址:

2. spring-boot-cli
安装步骤:
  1. 下载 spring-boot-cli-1.5.8.RELEASE-bin.zip
  2. 解压spring-boot-cli-1.5.8.RELEASE-bin
  3. 保证java jdk已安装
  4. 添加E:\programs\spring-boot-cli-1.5.8.RELEASE-bin\spring-1.5.8.RELEASE\bin到环境变量PATH
  5. 测试spring --version,效果如下图


附:
Environment Variables
---------------------
No specific environment variables are required to run the CLI, however, you may want to
set SPRING_HOME to point to a specific installation.  You should also add SPRING_HOME/bin
to your PATH environment variable.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值