On the Internet Baidu to install and configure the jdk post, follow the steps, and finally there is a problem. After reading some posts, I still can't solve the problem.
Finally, refer to the solution given by Baidu experience. Link: https://jingyan.baidu.com/article/08b6a591bdb18314a80922a0.html
The path mentioned in the post I saw before is adding parameters after the original path, but this post said that adding a PATH to the "user variable" will solve the problem. Or to re-add a PATH can.