修改macos的java版本
run a different version of Java, either specify the full path, or use the java_home tool. For example:
$ /usr/libexec/java_home -v 17 --exec javac -version
run a different version of Java, either specify the full path, or use the java_home tool. For example:
$ /usr/libexec/java_home -v 17 --exec javac -version