i have jdk 16 installed but due to certain reasons i want jdk8 now.
my jdk 16 is not installed on $JAVA_HOME
i have no documentation on how to install jdk8 since all documentation are for -bash, while my mac has -zsh and i also don't know how to set up environment variable and all(i am a complete beginner).
it would be really helpful if someone could guide me for installation