Did this blog help you solve a problem? Tip me with Bitcoins at: 17dQktcAmU4urXz7tGk2sbuiCqykm3WLs6

Monday, April 23, 2012

Uninstall Stubborn Java JRE or JDK from Windows

Having trouble uninstalling or fixing Java from a Windows 7 machine like I did? I somehow managed to mess up my Java installation and was receiving an error 1723 along the way while trying to uninstall the 64-bit version of Java 6 (in my case version 6.0.31). It was complaining about not being able to find a certain file which it apparently needed for the uninstall. What I did was the following:

Step 1: Locate the following folder:

C:\Users\<User>\AppData\LocalLow\Sun\Java\jdk1.7.0_x64

and make a copy of it in

C:\Users\<User>\AppData\LocalLow\Sun\Java

If it isn't there, you need to downlaod and install Java jdk1.7.0_x64.

Step 2: Rename the copied folder to

C:\Users\<User>\AppData\LocalLow\Sun\Java\jdk1.6.0_31_64

Step 3: Rename

C:\Users\<User>\AppData\LocalLow\Sun\Java\jdk1.6.0_31_64\jdk1.7.0.msi

to

C:\Users\<User>\AppData\LocalLow\Sun\Java\jdk1.6.0_31_64\jdk1.6.0_31.msi

Following those steps combined with some restarting of Windows allowed me to Uninstall my corrupt Java 6 version. Make sure you replace <User> above with your Windows user name.  I hope that helps someone!

No comments: