STS report could not find tools.jar in the active JRE
Using spring’s STS tool, it is clear that only one JDK is configured in the preference, and this error is still reported when it can be started
Solution:
Find the springtoolsuite4.ini file in the STS installation path. Add two lines at the beginning
-vm
C:\Program Files\Java\jdk1.8.0_ 131\bin\javaw
The second line is your JDK path