setting JAVA_HOME in MAC (Not personal)
I got a mac (m3 pro) for work. I have installed the jdk 17(temurin) and 8 (amazon) for a project specific requirement. now when i tried to set the JAVA_HOME (export JAVA_HOME=”/Library/Java/JavaVirtualMachines/temurin-17.0.10/Contents/Home”), I am getting the following message when I try to echo $JAVA_HOME : Using system JDK, no JAVA_HOME set!