1、卸载自带的openJdk https://blog.csdn.net/cyl1226541/article/details/78849499 2、安装Jdk https://blog.csdn.net/fansenjun/article/details/82256528