- Download apache-maven2-*-.tar.gz
- Unpack to directory your_directory
- Set variable to environments
#sudo gedit /etc/environment - Reboot your machine. And welcome!
M2_HOME=your_directory
PATH=$PATH:$M2_HOME/bin
[Update]
But i created link to /usr/bin/mvn from my_dir/bin/mvn
No comments:
Post a Comment