Switch JDK
The JDK version in development needs to be 1.3.1, the current computer is jdk1.8
Can be on the official website, but I do a half-day, found that the download is slow and need account, so in Csdn under a
Address, you can download the first exe, do not download rar, the content is the same, but RAR also need two points ╮(╯▽╰)╭
Download installed in E:\JDK1.3.1\JDK, change the environment variables in the Java_home, after the cmd input java-version or display as 1.8 version, indicating that the switch is not successful
Looked up, found a blog is to solve the problem, address.
But my problem is still not resolved, the version is still not switched
Then look closely at the system variable path, the content is:
C:\ProgramData\Oracle\Java\javapath; C:\Program Files (x86) \nvidia corporation\physx\common;%systemroot%\system32;%systemroot%;%systemroot%\system32\ Wbem;%systemroot%\system32\windowspowershell\v1.0\; %java_home%\bin;%java_home%\jre\bin; C:\Program Files (x86) \microsoft SQL server\100\tools\binn\; C:\Program Files\Microsoft SQL Server\100\tools\binn\; C:\Program Files\Microsoft SQL server\100\dts\binn\;D: \program Files\opencv\build\x64\vc10\bin;d:\program Files\ Opencv\build\x86\vc10\bin
C:\ProgramData\Oracle\Java\javapath was found at the front;
Enter this directory to see the
Guess because the order of the path is related to the priority, so put the %java_home%\bin;%java_home%\jre\bin to the front of the PATH variable
The version switch was found to be successful.
Switch JDK version