ubuntu 安装maven提示出错 The program 'mvn' can be found in the following packages
2020-12-13 03:35
标签:ubuntu maven 问题:
I am trying to install apache maven 3 in Ubuntu 12.04 lts. What I did was open the terminal then I typed the following commands
After that I typed
and it displayed all the necessary information but after closing the terminal, again I typed the command 解决方案如下http://askubuntu.com/questions/310059/ubuntu-adding-path-environment-variables 问题是在环境里面添加了PATH,但是需要 ubuntu 安装maven提示出错 The program 'mvn' can be found in the following packages,搜素材,soscw.com ubuntu 安装maven提示出错 The program 'mvn' can be found in the following packages 标签:ubuntu maven 原文地址:http://blog.csdn.net/senyangs/article/details/35052807
mvn --version
mvn
--version
The program ‘mvn‘ can be found in the following packages:
* maven
* maven2
Try sudo apt-get install selected-page>
$source /etc/environment
然后mvn --vsersion
xx@xxx:/usr/local$ mvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T21:51:42+08:00)
Maven home: /usr/local/apache-maven-3.2.2
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
下一篇:Java 中 Gson的使用
文章标题:ubuntu 安装maven提示出错 The program 'mvn' can be found in the following packages
文章链接:http://soscw.com/essay/27891.html