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 Files\Java\jdk1.8.0_131\bin\javaw

           第二行是你的jdk路径。

猜你喜欢

转载自www.cnblogs.com/hanwuxing/p/11351512.html
今日推荐