I am new to Ubuntu!
And I am trying to setup manually Maven by adding Maven directory into
$PATH. I created
.bash_profile file in my
home directory. The file contains this:
And then on a terminal, I run
Everything works fine and I can see the version after running
mvn -version. But after rebooting laptop, running
mvn gets the following error:
The program 'mvn' can be found in the following packages: * maven * maven2 Try: sudo apt-get install <selected package>
Could you tell me what I am missing please? Any help would be appropriate!
The output of
echo $PATH is:
tuandang@Inspiron-N4030:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games