How to set Path
-------------------
1)To check directory
pwd
2)To know all the files available in your current directory
ls -al
3)To create zshrc file
touch .zshrc
4) To open file
open .zshrc
5) Copy below line of in .zshrc file with proper java version
export JAVA_HOME=$(/usr/libexec/java_home -v 24.0.1)
export PATH=$JAVA_HOME/bin:$PATH
6) save file
cmd+save
7) source the file , it will recognised by system
source .zshrc
8) To check ,where java is installed
echo $JAVA_HOME
9)To check java install or not
/usr/libexec/java_home -V
java -version
En esta página del sitio puede ver el video en línea How to install Java on Mac OS | Java On mac | java in MAC de Duración hora minuto segunda en buena calidad , que subió el usuario Java Fever 01 enero 1970, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 42 veces y le gustó 2 a los espectadores. Disfruta viendo!