How to download and install maven, setting m2_home and path variable

preview_player
Показать описание
How to download and install maven, setting m2_home and path variable on Linux Mint 18.1

#IMPORTANT
Be careful when setting path. Don't forget to add $PATH like this:
export PATH=$PATH:$your_new_path_dir

Use colon (:) to separate the variable path with another variable path on linux.

Music & Audio
Рекомендации по теме
Комментарии
Автор

What is the symbol sir u have used
In sudo x_d maven-env

pratyushpanigrahy
Автор

#!/bin/sh
export
export
export PATH=$M2_HOME/bin:$PATH

this was the winner for me, note your installation folder may be different, I use opt for self installed software

Jmfufghf
Автор

nice tutorial, note: I initially neglected the first line (the #!/bin/sh), and it won't work without it.

Jmfufghf