how to chech the version of java installed on mac code example Example: how to see list of java of versions in mac /usr/libexec/java_home -V