Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Uninstall Old Java Version - Cannot Find

29 Sep 2013   #31
Intuit

X32, V64, S64, E64
 
 

I usually just go to the installed directories and run
for /r %a in (*.dll) do %systemroot%\system32\regsvr32.exe /u /s "%~a" & %systemroot%\syswow64\regsvr32.exe /u /s "%~a"
I check for browser attachments and then delete all corresponding registry CLSID entries.
Lastly I delete the main install folder(s), plus any corresponding %localappdata% and %appdata% folders for all system and user accounts.

There are also a few files located under %systemroot%\system32 and/or %systemroot%\syswow64 that are unregistered and deleted. Off the top of my head, "*deploy*.dll" and "*java*.dll" files, of course excluding "fdeploy.dll" and any other signed Microsoft files.

Even on "successful" uninstalls, these files and CLSID entries often will remain.

My script is in batch but I'm sure it would be simple for someone to write-up a vbscript doing the same thing.


My System SpecsSystem Spec
.
29 Sep 2013   #32
MourningStar

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
There is no audio :-(

The video shows using Process Monitor to determine where in the registry the java.com tool looks to see if you have old versions installed. Once I locate the registry keys that the java tool is looking for, I change them just to verify that those are the only places that the tool looks to detect "installed" versions. Near the end of the video, I delete two registry keys. If you delete those keys, the java.com website will not detect old versions of Java on your computer. However, it will not hurt to just leave those two keys. You don't have Java installed, you just have left over registry keys.
thank you.

question : is there danger if one simply goes to regedit, cliks the find/find next on the term 'java' or 'jre' and delete all occurrences? I did this out (w/o deleting) out of curiosity and the 'find' function found a lot of entries)
My System SpecsSystem Spec
29 Sep 2013   #33
UsernameIssues

W7 Pro SP1 64bit
 
 

Yes, there is a danger...

There are a lot of references to Java (and javascript - which is different) in the registry on computers that have never had java installed. It would be too time consuming to manually figure out which ones belong (per Microsoft) and which might be left over from Oracle/Sun installs of java.

The only two keys that I would suggest removing are the two shown near the end of the video... or just leave them. Extra registry keys do not noticeably harm performance.
My System SpecsSystem Spec
.

29 Sep 2013   #34
MourningStar

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
Yes, there is a danger...

The only two keys that I would suggest removing are the two shown near the end of the video..
That did it!!! Wooo-Hooo!!!!

Thank you UsernameIssues!!!

... and thnx to everyone for the excellent advice
My System SpecsSystem Spec
30 Sep 2013   #35
UsernameIssues

W7 Pro SP1 64bit
 
 

You are welcome. I enjoyed learning a bit more about Java. I had never used the Secunia online scanner nor the one from java.com.

For what it is worth - for anyone else finding this thread:
You can have Java 7 update 40 installed...
Run the test on the java.com website...
Remove the two keys shown in the video...
Then uninstall Java 7 Update 40.

Removing those two keys does not harm the normal uninstall process.
My System SpecsSystem Spec
30 Sep 2013   #36
andrew129260

Windows 10 Pro
 
 

Nice job, couldnt rep so I am letting you know UsernameIssues
My System SpecsSystem Spec
Reply

 Uninstall Old Java Version - Cannot Find




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Java Version 7 Update 45
Source Release Notes Java? SE Development Kit 7 Update 45 Release Notes Download Java Downloads for All Operating Systems
Software
Not Able to Uninstall Java(s)
I am not able to uninstall these: The results I get when I try to uninstall are:
Software
Java...What version?
I didn't realize it but there are several versions of java out there, Sun or Oracle, which is the real one and which is best for Win 7?
Software
java uninstall
dell vostro 1700 with win 7 on it had major infections on it....cleaned them up java is installed somple,and getting error 1723..problem with windows installer package on this computer,amissing Dll for this install and could not be run???? any ideas thanks ron
Software
uninstall fails for java 6 ...
yesterday my windows updated it self when i shut down. using windows 7 home premium. i had java SE 6 update 19 before - was working fine the last week. i did try to re install the JRE as it was not working in firefox today when i tried to use a java program - java threw an error: i can see...
Installation & Setup
Java.. new version 6.18
I've been alerted about the newest version of Java.. on the laptop.. I keep hearing Java is difficult to un-install ( old version )..on Windows 7.. shall I try to un-install it.. I need to install the new version. On XP I would go to the Control Panel and un-install all versions.. and such...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App