Solution: Turn off idea, into the installation directory to find the idea of jre64 folder rename jre642 (whatever the name will do) as shown below
Then find jre jdk installation files in the directory to the installation directory on the idea of drawing and renamed jre64
Finally, find jdk installation directory jdk >> lib >> tools.jar files copied to the lib jre64 files in the installation directory idea to solve the problem
via: https://www.cnblogs.com/Fanzifeng/p/7640531.html