Closed tango4567 closed 1 year ago
I'm using bash
Open bash Profile sudo nano ~/.bash_profile
sudo nano ~/.bash_profile
Add the following line export JAVA_HOME=$(/usr/libexec/java_home -v11)
export JAVA_HOME=$(/usr/libexec/java_home -v11)
Then runsource ~/.bash_profile
source ~/.bash_profile
Video Solution by Seho Lim
I'm using bash
Open bash Profile
sudo nano ~/.bash_profile
Add the following line
export JAVA_HOME=$(/usr/libexec/java_home -v11)
Then run
source ~/.bash_profile
Video Solution by Seho Lim