解决方案 https://blog.csdn.net/qq_28867949/article/details/114053176 补充 查找自己JDK版本的方法,在终端输入: /usr/libexec/java_home -V