Home >Java >JavaBase >java installation failed

java installation failed

angryTom
angryTomOriginal
2019-11-20 11:01:3835664browse

java installation failed

java installation failed

In many cases, when we reinstall java, we will encounter installation failure. Let’s take a look at how to solve it.

Cause for installation failure:

The last installed version was not uninstalled cleanly, resulting in the failure to install correctly.

The operating system and installation version do not match, resulting in failure to install.

Solution:

1. win r--enter regedit---find HKEY_LOCAL_MACHINE --- SOFTWARE --Delete all "javaSoft" inside.

2. Then find HKEY_CURRENT_USER---SoftWare---delete the "javaSoft" inside.

3. If it is a 64-bit system, you need to install a 64-bit jdk, and 32-bit corresponds to 32-bit.

Recommended tutorial: java tutorial

The above is the detailed content of java installation failed. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn