How to uninstall the JRE completely

Source: Internet
Author: User
Click the start → Run command to enter "RunDll32 advpack.dll,launchinfsection Java.inf,uninstall" In the Run dialog box, and the system will open "Microsoft VM UnInstall" after carriage return dialog box, click the "Yes (Y)" button, the system will begin uninstalling the Microsoft Java Virtual Machine, after the uninstall is completed, you need to reboot the system.

Next, delete "%systemroot%" (that is, the Windows installation directory, the Windows 2000 system is the Winnt directory, Windows xp/2003 is the Windows directory) Java folder; "%SystemRoot%\Inf" Under the java.pnf file, and "%SystemRoot%\System32" under the Jview.exe files and wjview.exe files. Finally, open Registry Editor, expand the [HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\JAVAVM] branch in turn, and [hkey_local_machine\software\microsoft\ Internet EXPLORERADVANCEDOPTIONS\JAVA_VM] Branch, delete all subkeys under these two branches.

In fact, the JRE uninstall is not clean, nor clean, unless the reload system.

Download the Java SDK. Inside the JRE is integrated. After installation, set the environment variable to the JRE path (under the Bin folder in the JDK) that is in front of the first installed SDK (JDK). Must be the front. The original JRE is not uninstalled clean, the system remains a path, you are located in the front of the system will not first go to the system to find the JRE, but first find your SDK in the JRE, the JRE is intact.

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.