In my case, none of the exported variables saved after bash quit. Also, export M2=$M2_HOME/bin; export PATH=$M2:$PATH into bash didn't help, either. So, I had to write absolute paths into bash profile. Mac X86 Download. Here are my steps: 1) open bash 2) next two steps are required to correctly create paths in your system. Logitech Webcam Software Mac Download there. How To Download Respondus Lockdown Browser On Mac here. Type in (line by line) JAVA_HOME=/usr/libexec/java_home export M2_HOME=/path/to/your/apache-maven-3.x. Freemake Mac Download. x export M2=$M2_HOME/bin export PATH=$M2:$PATH 3) than echo all four variables echo $JAVA_HOME echo $M2_HOME echo $M2 echo $PATH 4) open second window of bash for your convenience. 5) choose root folder (type cd without anything and press enter) cd 6) if you don’t have file called «.bash_profile» than just create it touch.bash_profile 7) open edit your «.bash_profile» nano.bash_profile 5) copy results of echo commands to your «.bash_profile». It should look something like.
Comments are closed.