Jdk changed from 1.8 to 1.7, check out the version starting 1.8 solution
I changed jdk from 1.8 to 1.7 and ran into a bit of trouble. If you run into this problem, you can use my solution. 1 Change the path of JAVA_HOME: to the relevant path of 1.7, for example, my: D:\Program Files\Java\jdk1.7.0_802 At this time, check the version: Java -version. If it is version 1.8, put %JAVA_HOME%\bin; under the path to the front. 3 If you check Java -version or 1.8 at this time, then enter echo %path% in cmd to see what the specific path value is. If the path shows relevant information about 1.7, but it does not match the relative position after you change it, restart the computer and check again.