Maven setup error in Ubuntu

时间:2016-04-12 00:38:38

标签: java maven ubuntu

I have a small nanoPC with Ubuntu 14.04 LTS installed and Jenkins, but I've found myself needing to install Maven to use with Jenkins. I have installed Maven, but when I try to check the version using mvn --version, I get the following:

mvn --version Terminal output

I have:

  • Set the Java environment variables and tested it with java -version.
  • Set the Maven environment variables.
  • Tried navigating to that location in the terminal and doing ls, getting the files list wich includes java.
  • Tried executing java and get the list of available commands.

What am I missing here?

0 个答案:

没有答案