卸载jdk或者jre后,如果控制面板中仍然有java项,重新安装可能仍然无法设置,提示找不到“javacpl.exe”

解决办法:删除C:\windows\system32\下的java*.cpl,删除即可。