could not find tools.jar in the active JRE 简单粗暴正解来了

每次打开sts 总弹窗 Missing tools.jar

  1. 重装STS 不行
  2. 把tools .jar 拷到 指定目录也不行
  3. 重装JDK 还是不行

could not find tools.jar in the active JRE 简单粗暴正解来了

问题定位 :一定是环境配置错了

  1. 检查是否安装了多个JDK 
  2. 是否配置环境疏忽大意了多逗少点现象

如果是这样肯定会错误了

解决方案: 

 重新配置后如图: 再没警告过
could not find tools.jar in the active JRE 简单粗暴正解来了
could not find tools.jar in the active JRE 简单粗暴正解来了