After the error msg, it says "Please use the --jdkhome command line option to specify a JDK installation". So when I run command /usr/libexec/java_home -V
/usr/libexec/java_home -V