![]() 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. bash_profile to make the changes take effect. Then add $JAVA_HOME/bin in the value of the system environment variable PATH like below.export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home But if you really know your JDK installed directory, you can add the JDK directory in the export command in. ![]() bash: /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home: is a directory 192:~ zhaosong$ $(/usr/libexec/java_home) Run this command in the terminal like below, you can get the real JDK installation directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |