![add the bin directory to your path. ant migration tool mac add the bin directory to your path. ant migration tool mac](https://absyz.com/wp-content/uploads/2021/05/Integrate-SharePoint-with-Salesforce-using-Microsoft-Graph-API_2-1-180x180.png)
- Add the bin directory to your path. ant migration tool mac install#
- Add the bin directory to your path. ant migration tool mac zip file#
- Add the bin directory to your path. ant migration tool mac archive#
- Add the bin directory to your path. ant migration tool mac mac#
But if there are multiple JDK versions installed on your machine, and you want to use different JDK version to build different java project, You can use the maven compiler plugin to let each maven project use its own JDK.
Add the bin directory to your path. ant migration tool mac mac#
When you run the maven command to build a java project on mac, it gets the JDK version from mac JAVA_HOME variable.Java version: 1.8.0_172, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jreĭefault locale: en_CN, platform encoding: UTF-8 Maven home: /Users/zhaosong/Documents/WorkSpace/tool/apache-maven-3.5.4 Java(TM) SE Runtime Environment (build 1.8.0_172-b11) Now run java -version and mvn -v, you can get the correct output as below.
Add the bin directory to your path. ant migration tool mac install#
![add the bin directory to your path. ant migration tool mac add the bin directory to your path. ant migration tool mac](https://miro.medium.com/max/1400/1*5n0nJ5TVcOVV0hb9YsCJ1w.png)
![add the bin directory to your path. ant migration tool mac add the bin directory to your path. ant migration tool mac](https://focusonforce.com/wp-content/uploads/2016/06/image007.png)
Besides set MAVEN_HOME on mac, you also need to set M2_HOME, M2, and MAVEN_OPTS on mac just like below in the user’s.bash_profilecommand in the terminal, now you can echo JAVA_HOME and MAVEN_HOME‘s value on the macOS terminal. To make the change take effect, run source.Now when you run echo $JAVA_HOME, or echo $MAVEN_HOME, you still can not get the value you just set in.Press esc key on the keyboard then press :wq in vim to save and quit vim editor.bash_profile.Įxport MAVEN_HOME="/Users/zhaosong/Documents/WorkSpace/tool/apache-maven-3.5.4" In vim click esc key on the keyboard then press i key to insert the below export command in.
Add the bin directory to your path. ant migration tool mac zip file#
Add the bin directory to your path. ant migration tool mac archive#
Go to to download the latest maven archive file.Set MAVEN_HOME on mac is similar to set JAVA_HOME on mac, but you need to install maven first.
![add the bin directory to your path. ant migration tool mac add the bin directory to your path. ant migration tool mac](https://1.bp.blogspot.com/-yBg0RxpLZGI/UUBWDFiRHmI/AAAAAAAACPg/LxUinPSY8Cs/s320/avruartconfig_gui.jpg)
bash_profile to make the changes take effect.