Install Java when you get error Unable to find bundled Java version.

 

to return the location of the Java

 /usr/libexec/java_home

/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home

vim ~/.zshenv


JAVA_HOME=$(/usr/libexec/java_home)

% source ~/.zshenv % echo $JAVA_HOME 

 Android Studio Electric Eel Follow the following step

cd /Applications/Android\ Studio.app/Contents

 ln -s jbr jre

 

Comments