Switch JDK version

Source: Internet
Author: User

Switch JDK

The JDK version in development needs to be 1.3.1, the current computer is jdk1.8

    • Download jdk1.3.1

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 ╮(╯▽╰)╭

    • Switch versions

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.