Java

Java in Action Downloads Help Center

Help Resources

Search Java Help


How do I uninstall Microsoft Virtual Machine?


This article applies to:
  • Platform(s): Windows 2000, Windows XP
  • Browser(s): Internet Explorer 5.5, Internet Explorer 6.x
  • Java version(s): 1.4.2_xx, 1.5.0

SOLUTION

Check if Microsoft VM is installed


  1. Open the Internet Explorer browser.
  2. Click Tools > Internet Options > Advanced.
    The Internet Options dialog box appears.

Internet Options dialog

  1. Check if Microsoft VM is listed.
  2. If Microsoft VM is not listed, you do not have Microsoft VM on your system.
    If Microsoft VM is listed, you can uninstall either by:
    • Requesting Microsoft for the Microsoft VM uninstall utility
    • or
    • Following the command line instructions to Uninstall Microsoft VM
Uninstall Microsoft VM


  1. Click Start > Run.
  2. Type:
    RunDll32 advpack.dll,LaunchINFSection java.inf,UnInstall
    The Microsoft VM uninstall dialog box appears.
  3. Click Yes to confirm.
  4. Reboot when prompted.
  5. After the machine restarts, go to the systemroot.
    For example,
    systemroot for Windows XP could be c:\WINNT
    and for Windows 2000, it could be c:\WINDOWS
  6. Delete the following files or folders from the systemroot:
    • java folder from systemroot
    • java.pnf file from systemroot\inf\ folder (if available)
    • jview.exe and wjview.exe files from systemroot\system32 folder
  7. Click Start > Run.
  8. Type:
    regedit
    The Registry Editor dialog box appears.

Registry Editor dialog

  1. Go to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM
    (Hint: Right click the + icon)

Registry Editor showing Java VM registry key location

  1. Delete the Java VM registry key.
  2. Go to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_VM

Registry Editor showing Java_VM registry key location


Note:The Registry Editor display on your system could be different than the above view.
  1. Delete the JAVA_VM registry key.
Microsoft VM is now uninstalled from your system.


Sun provides third-party contact information to help you find technical support. This contact information may change without notice. Sun does not guarantee the accuracy of this third-party contact information.

Select Language | Newsletter | About Java Technology | Partner with Us | Developers
Privacy | Terms of Use | Trademarks | License | Disclaimer | Support

Sun Microsystems