How to remove Microsoft Java and install Sun Java

Share your tips, tricks and favorite iMacros macros, scripts and applications for web automation in general here.

Moderator: iMacros Moderators

How to remove Microsoft Java and install Sun Java

by Tech Support on Thu May 10, 2007 12:39 pm

Some Java applets do not work correctly with the old Microsoft Java version. The problem is that MS Java is used even if SUN Java is installed, too. As a solution we recommend to remove MS Java from your PC. (Another good reason to remove it is that it is no longer supported by Microsoft.)

Before removal:

Image

After removal:


Image

How to remove Microsoft Java:

(1) From the Start menu, select Run.

(2) Enter the command
Code: Select all
RunDll32 advpack.dll,LaunchINFSection java.inf,UnInstall

to start the uninstall process

(3) Click Yes to the confirmation, then select Reboot when prompted.

(4) After the machine restarts, delete 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.

(5) Microsoft Java is now removed. If you have not done it yet, you can download Sun's latest JVM for Windows at http://java.sun.com/getjava/
User avatar
Tech Support
 
Posts: 5003
Joined: Tue Sep 20, 2005 12:25 pm

Return to How-To's and useful iMacros: All other topics

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests

-->