Uninstall Old Java Version - Cannot Find

Page 4 of 4 FirstFirst ... 234

  1. Posts : 5
    X32, V64, S64, E64
       #31

    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 Computer


  2. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #32

    UsernameIssues said:
    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 Computer


  3. Posts : 10,485
    W7 Pro SP1 64bit
       #33

    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 Computer


  4. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #34

    UsernameIssues said:
    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 Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #35

    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 Computer


  6. Posts : 4,566
    Windows 10 Pro
       #36

    Nice job, couldnt rep so I am letting you know UsernameIssues
      My Computer


 
Page 4 of 4 FirstFirst ... 234

  Related Discussions
Our Sites
Site Links
About 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 23:44.
Find Us