HelpWithWindows | WindowsBBS | InfiniSource | RoseCitySoftware





Windows XP > Windows XP How To's


Remove Microsoft Java Virtual Machine and Install Sun Java™



Java™ Although court cases are still draggin on, Microsoft has removed its Java Virtual Machine (JVM) from the Windows XP Service Pack 1 (SP1). Recently Microsoft released Service Pack 1a, which is the same as SP1, but then without the Java VM.

You might want to remove Microsoft's JVM, since it will no longer be supported by Microsoft.

If you want to remove Microsoft's JVM, and install the latest offering from Sun, here's how:

  1. Select Start > Run
  2. Enter RunDll32 advpack.dll,LaunchINFSection java.inf,UnInstall in the Open box, and click OK


  3. Uninstall MS JVM
    Click Yes to confirm that you want to remove the Microsoft VM

  4. When prompted, reboot the computer
  5. Remove the following items:
    • The \%Systemroot%\Java folder
    • The file java.PNF from the \%Systemroot%\inf folder
    • The files jview.exe and wjview.exe from the \%Systemroot%\system32 folder
    • The registry subkey HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Java VM
    • The registry subkey HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ InternetExplorer \ AdvancedOptions \ JAVA_VM


Note I: With \%Systemroot%\ is meant your Windows directory.
Note II: To delete a registry subkey, start the Registry Editor, and navigate to the key by clicking on the + signs. When you have the correct key selected, right-click, and select Delete from the menu.

Delete registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM

Microsoft JVM is now removed. You can download Sun's JVM for Windows from the Sun Web site.

E-mail This Page


Previous Page
Previous Page


70-235 exams of Microsoft certification are very important to provide all necessary modern information and application of the devices/ software proficiently. 70-270 exams of Microsoft certification are designed to evaluate the professional skills and Excellency of IT experts by maintaining the tough tasks of tackling IT issues. 70-218 exams of Microsoft certification are providing the excellent guidelines to maintain the inherent caliber of IT professionals. 70-229 exams of Microsoft certification are demonstrated to train IT professionals with the complete informative guidelines and techniques. 70-123 exams of Microsoft certification are organized to promote the excellent and proficient training and skillfulness for IT professionals.