Install Java & Android on macos Big Sur

Download file `jdk-14.0.2_osx-x64_bin.dmg` and install

Find type of shell

echo $SHELL

Find JAVA location & version


open env file

vi ~/.zshrc

and to file

# env
if [[ -e /usr/libexec/java_home ]]; then
export JAVA_HOME=`/usr/libexec/java_home`
export PATH=$JAVA_HOME/bin:$PATH

reload terminal or

source ~/.zshrc

Android Install

Go to settings preferences, search for “sdk” find location and set

export ANDROID_SDK_ROOT=~/Library/Android/sdk

set another

export PATH=${PATH}:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store