Link to home
Start Free TrialLog in
Avatar of Niemand
Niemand

asked on

How to uninstall Java 2 Runtime Environment, SE v1.4.1_01?

I downloaded the latest j2re from Sun (j2re-1_4_1_01-windows-i586-i.exe) and ran it without knowing that I had to first uninstall j2re SE v1.4.0_01.  I chose "custom" install option and went all the way to the last step, and the install hanged on me at the very end installing the Java Plug-In.  After about 5 minutes of waiting, I started Task Manager and saw that IKernel.exe was using 99% of CPU, so I ended that process.  I also ended another process called "j2re-1.4.1_01-w".

I went to Control Panel/Add Remove Programs and tried to remove "Java 2 Runtime Environment, SE v1.4.1_01" repeatedly to no effect.

I then deleted Program Files/Java/1.4.1_01 but entry still exists in Add Remove Programs.

I then went into Registry Editor, and under the various subfolders under HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft, I deleted all "1.4.1_01" entries.  Add Remove Programs still displays the Java 2 RE v1.4.1_01 entry.

I then rerun j2re-1_4_1_01-windows-i586-i.exe.  The install says J2RE SE v1.4.1_01 already exists and gives me option to uninstall it.  I choose the option to uninstall, but Add Remove Programs still displays the entry.

I want to clean this out of my computer.  Help.

I tried to uninstall j2re 1.4.0_01 by running j2re-1_4_0_01-windows-i586-i.exe.  In the middle, it stopped and said some file was in use.  I exited the uninstall.  I am now in the same situation with this as I am with 1.4.1_01--cannot delete or reinstall.  Help.
Avatar of Niemand
Niemand

ASKER

Nevermind.  Fixed it myself.
1. Delete the relevant entries in the Registry (This is probably not necessary)
2. Delete the relevant entries under Program Files/InstallShield Installation Information. (Look in the ini files for clues).  (This is probably what fixed it.)
3. Run the installation files for the j2re, the latest install first, to install the Java Runtime Environment and run it again to delete it.  Then do the same with the earlier install.  This would clear all entries out of the Add/Remove Program Files.
4. Now that the computer is cleaned up, install the desired version.
5. Do not forget the next time to first uninstall the current version of j2re before installing another one.
ASKER CERTIFIED SOLUTION
Avatar of Jgould
Jgould

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial