1.删掉windows\system32下面的java.exe和javaw.exe 2.再按照网上的方法来设置JAVA_HOME 转载于:https://www.cnblogs.com/shaman/p/3317519.html