bash_profile fileĮxport JAVA_HOME_8=$(/usr/libexec/java_home -v1.8)Įxport JAVA_HOME_11=$(/usr/libexec/java_home -v11)Įxport JAVA_HOME_14=$(/usr/libexec/java_home -v14)Ĥ.3 Based on the above change, we are setting JAVA_HOME to java 1.8 version.
bash_profile fileĪdd the following to the. Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home 4.2 Open the.