Appium Doctor - unable to set $JAVA_HOME/bin into PATH variable on MacOS 10.12
I removed double quotes from the paths and slashes from the end This is working fine for me now:
export ANDROID_HOME=/Users/sergei/Library/Android/sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
I needed to add
export PATH=${JAVA_HOME}/bin:$PATH
to ~/.bash_profile and restart the terminal