This question already has an answer here:
- Where to declare environment variables? 4 answers
My environment variables are correct? What is the correct way to use them in Ubuntu? I put them at the end of .bashrc file or edit the end of
/etc/environment to able to use the
$M2_HOME configuration and on my user?