If you have more javas and you want to switch between the javas, you can select a java from the javas with this...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|set -x JAVA_HOME (/usr/libexec/java_home $argv)|
|echo "JAVA_HOME:" $JAVA_HOME|
|echo "java -version:"|