STS报could not find tools.jar in the active JRE

STS报could not find tools.jar in the active JRE

本文链接:https://blog.csdn.net/wqztmx4/article/details/96453649

使用spring的STS工具,明明在preference中只配置了一个jdk,可启动的时候,还是报这个错误。

解决方法:

             找到STS的安装路径下的SpringToolSuite4.ini文件。在最开始增加两行

           -vm
           C:Program FilesJavajdk1.8.0_131injavaw

           第二行是你的jdk路径。

原文地址:https://www.cnblogs.com/hanwuxing/p/11351512.html