Silent Uninstall Java All Versions. This fixes the bug with Java versions 1.4.x removing a shared file all the 1.4.x uninstallers rely on. It leaves a few DLLs on the system but the security increase of removing all old Java versions outweighs that in our environment. This simple utility will scan for and remove older versions as well as check for the latest version. 3: Go to Programs (or Add Remove Programs) in your control panel and look for Java versions installed. Because they currently have two different versions available we prefer you use option 1 or 2 in that order depending on your computer knowledge. Windows users can uninstall old versions of Java by following these steps: 1. Click 'Start'. Select 'Control Panel'. Double-click 'Add/Remove Programs'. Select the oldest version of Java on your system and remove it. Repeat this process as needed, but do not delete your newest version of Java. The other main function of JavaRa is to purge the system of all old Java installation files leaving just the newest version. The “Remove older Versions” button does this and you will be showed a text log file on completion with information about what files and registry entries have been removed. This is obviously good for security, gives you a few Megabytes of free space, and removes some useless registry keys. One of the problems with Java is that, at least in the past, installing a new update didn’t always (n fact, never did) uninstall the older version. This meant that, despite installing the “latest and greatest” version, the security exposures still remained. It’s been the recommendation of myself and any others I know that you should always remove.
Active3 years, 10 months ago
I'm setting up a system to keep Java in our office up to date. Everyone has all different versions of Java, many of them old and insecure, and some dating back as far as 1.4. I have a System Center Essentials server which can push out and silently run a .msi file, and I've already tested that it can install the latest Java. But old versions (such as 1.4) aren't removed by the installer, so I need to uninstall them. Everyone is running Windows XP.
The neat coincidence is that Sun just got bought by Oracle and Oracle has now changed all the instances of 'Sun' to 'Oracle' in Java. So, I can conveniently not have to worry about uninstalling the latest Java, because I can just do a search and uninstall all Sun Java programs.
I found the following batch script on a forum post which looked promising:
However, when I run the script, I get the following output:
And then it appears to hang and I ctrl-c to stop it.
Reading through the script, I don't understand everything, but I don't know why it is trying to run pieces of registry keys as programs. What is wrong with the batch script? How can I fix it, so that I can move on to somehow turning it into a MSI and deploying it to everyone to clean up this office?
Or alternatively, can you suggest a better solution or existing MSI file to do what I need? I just want to make sure to get all the old versions of Java off of everyone's computers, since I've heard of exploits that cause web pages to load using old versions of Java and I want to avoid those.
Jim B23.3k33 gold badges2929 silver badges5858 bronze badges
RicketRicket29422 gold badges66 silver badges1818 bronze badges
8 Answers
The following is what we use, works great as a startup script:
.ABAQUS ANALYSIS USERS MANUAL 6.10 PDF TO WORD ABAQUS ANALYSIS USERS MANUAL 6.10 PDF TO WORD.This reference manual includes detailed descriptions of how to generate models, submit and monitor analysis jobs, and evaluate and visualize results using Abaqus/CAE.
edusysadminedusysadmin
This line will uninstall all versions of JAVA:
wmic product where 'name like 'Java%% %%' call uninstall /nointeractive
user154791user154791
Excerpt from:http://www.java.com/en/download/faq/remove_olderversions.xml
Over time, you may have installed multiple versions of Java to run available Java content. In the past, each Java update was installed in separate directories on your system. However, Java updates are now installed in a single directory.
Should I remove older versions of Java? We highly recommend users remove all older versions of Java from your system. Keeping old and unsupported versions of Java on your system presents a serious security risk. Removing older versions of Java from your system ensures that Java applications will run with the most up-to-date security and performance improvements on your system.
I found the following VBScript which, in theory, properly removes prior versions of Java. Best to read from the bottom-up, since others have tweaked it to perfection:
Paulie DPaulie D
Responsive templates free download. Check this simple, but very useful command:
stolen from here
higuitahiguita
There's some vbscript code here that you should be able to deploy via Group Policy without an msi.
nedmnedm4,99555 gold badges2626 silver badges4848 bronze badges
The top voted verified answer has some issues with it. The 6.0 series CLSIDs are incorrect based on my testing.
Here are the CLSIDs I have found to work for each JRE series. Replace xx for the desired versions you'd like to remove. Please use with https://serverfault.com/a/187552/172014
I recommend adding /norestart after /q as well just in case the 1.4.2 series JRE MSIs want a reboot.
Community♦
CrimsonKnight13CrimsonKnight13
You can still accomplish using Batch script. I use the following script;
You can adapt/modify the way you want to suit your needs. ;-)
HeyvoonHeyvoon
This worked for me. It uninstalls all versions of Java (32-bit and 64-bit) prior to the latest version (which is v8.0.66 at the time of writing).
Follow the directions on the installation program screen.How to Install Drivers After you have found the right driver for your device and operating system, follow these simple instructions to install it. So it’s not a hardware issue. But now after the clean install I noticed my audio device isn’t working as it should. Realtek alc269 win7 driver. In reply to A.
ReadoReadoJava Remove Old Versions Tool
38722 gold badges77 silver badges2424 bronze badges