Registry key ' Software\javasoft\java Runtime environment\currentversion ' wrong resolution __java

Source: Internet
Author: User

Running Java.exe appears registry key ' Software\javasoft\java Runtime environment\currentversion ' ERROR
Has appeared before, feel that their environment variables are set, should be no problem, too lazy to think of, reload the good.
This time very strange suddenly and not, so Baidu a bit, found the article is as follows:
Run Java.exe appears registry key ' Software\javasoft\java Runtime environment\currentversion ' error resolution. Original

Prerequisite: Configure the path and CLASSPATH environment variables.

The following error occurred several times while the console was performing Java.exe:

Registry key ' Software\javasoft\java Runtime environment\currentversion '
Has value ' 1.4 ', but ' 1.3 ' is required.
Error:could not find Java.dll
Error:could not find Java 2 Runtime environment.

Try one, follow his prompts, look for registry keys, modified to 1.3, not fruit;

Try two, directly with full path running Java.exe, strange;

Try to cut the Java path in path to the system directory windows and System32 as the third, still;

Try four, put the Java path in the first place, OK;

Try five, look up the Windows and System32 directory, find a java.exe in the System32 directory, it is estimated that Ms put in, Rename It,ok.

Summing up, the original path to search the order of the problem, from the beginning did not think, now it seems that thinking is very important, of course, try more important.

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.