STS报could not find tools.jar in the active JRE
Posted hanwuxing
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了STS报could not find tools.jar in the active JRE相关的知识,希望对你有一定的参考价值。
STS报could not find tools.jar in the active JRE
使用spring的STS工具,明明在preference中只配置了一个jdk,可启动的时候,还是报这个错误。
解决方法:
找到STS的安装路径下的SpringToolSuite4.ini文件。在最开始增加两行
-vm
C:\Program Files\Java\jdk1.8.0_131\bin\javaw
第二行是你的jdk路径。
以上是关于STS报could not find tools.jar in the active JRE的主要内容,如果未能解决你的问题,请参考以下文章