Error registry key ' Software\javasoft\java Runtime environment ' \currentversion ' have value ' xx ', but ' xx ' is required solution

Source: Internet
Author: User

This error is very strange, a long time ago appeared once, has forgotten how to solve, today specially recorded.

Java on my machine has 3 versions, 1.6,1.7,1.8, environment variable java_home is always equipped with 1.8 as the main.

Because my 3 version of the corresponding eclipse of the Eclipse.ini have set the corresponding path, each version is not interfering with each other, the two days to write a 1.7 version of the code, do not know how to open 1.6 of Eclipse to report this error.

Workaround:

64-bit Windows found C:\Windows\SysWOW64 there are 3 files Java.exe javaw.exe javaws.exe Right-click version should be and you are about to open the version absolutely not the same, rest assured that the deletion can be, and then open it.

If you continue to report other errors, temporarily modify the path of the Java_home to the Java version you are about to open, duly completed.

Error registry key ' Software\javasoft\java Runtime environment ' \currentversion ' have value ' xx ', but ' xx ' is required solution

Related Article

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.