How to Remove Microsoft Java Virtual Machine
While most applications are removed from Windows by opening Start > Control Panel > Add/Remove Programs and finding the software you want to uninstall, removing the Microsoft Java Virtual Machine is a slightly different matter.
Begin by hitting WINDOWS+R to open Run, and type (or paste):
RunDll32 advpack.dll,LaunchINFSection java.inf,UnInstall
Click OK to accept this uninstallation command, and click Yes on the warning box that is displayed. Windows will eventually prompt you to restart your computer, which you should do.
Once the system restarts and you have logged back in, you will need to find and delete the following files and folders:
We’re tidying up here, getting rid of the files and folders that were used by Microsoft Java Virtual Machine. As it can no longer be updated, these components are no longer needed.
After deleting this data, the last step is to tidy the Windows system registry. Hit WINDOWS+R again and in the Run box type regedit.
The final step is to find the following keys and delete them:
(Be careful not to make changes to any other items in the registry, as one wrong move can lead your computer unable to run.)