- Remove Old Java Versions
- Remove Old Versions Java Command Line
- Powershell Remove Old Java Versions
- Remove Old Java Versions Windows 10
by Martin Brinkmann on April 09, 2008 in Software, Windows - Last Update: March 13, 2012 - 14 comments
JavaRa is a small application for Microsoft Windows that serves two purposes. The first is to check if a Java update is available and if that is the case download and install it on the computer. The second scans the system for previous versions of Java, if any old versions are found on the system they are removed from it. This second option is very handy because Java, more precisely its Java Runtime Environment, tends to install itself in separate directories with each new version that is released.
A major version upgrade of Java runtime environment will not remove an older major versions that’s installed. Example: you want to upgrade Java 6 Update X to Java 7 Update X. Some early versions of Java 6 won’t be uninstalled when a newer version gets installed as well.
Four different versions of the Java Runtime Environment were installed on my system and JavaRa removed the three versions of JRE that were the oldest from the system. I started by scanning my system for old versions of Java which were removed, then checked if there was a Java update available. I should have done it the other way round because an update was found and a new version of Java was installed on my system.
Which led to the fact that the previously newest version was not the newest anymore so I had to run the cleanup process again to remove that version. The best way to use the application is therefor to run the Update first and check for old versions once the software has checked for and installed possible updates.
Update: The JavaRa homepage has moved to a new domain. Engine serial number look up. You can now download the latest version of the Java deployment, update and removal tool from there.
The program displays four options on start up. Search for updates will look for Java updates using jucheck.exe that is distributed with every Java installation, or check on Oracle's website for updates.
Remove Older Versions on the other hand will remove all outdated Java versions from the operating system to make the system more secure and avoid version conflicts.
AdvertisementActive1 year, 4 months ago
I want to install Java silently and during this install, I want to uninstall older versions of Java.
Since 8.20 , there is an option to uninstall older version when you run the install (via the GUI).
So I want to know if there is an option for my command line when I want to install it?
Currently, the command line looks like:
![Delete Old Java Versions Delete Old Java Versions](/uploads/1/2/5/0/125037377/595207381.jpg)
Thanks for your help.
JakeGould36k1010 gold badges113113 silver badges155155 bronze badges
TroyAndAbedTroyAndAbed
1 Answer
Remove Old Java Versions
If you want to uninstall older veserion of java :
First we need to find the product code of java older version. For this go to regedit in path
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
and find your java version.For my case of Java 8 Update 31 is
26A24AE4-039D-4CA4-87B4-2F83218031F0
for 32 bit.For 64 bit only change this number 32 to 64:
2F83218031F0
to 2F86418031F0
.![Delete Old Java Versions Delete Old Java Versions](/uploads/1/2/5/0/125037377/952541304.jpg)
Remove Old Versions Java Command Line
For more information see full post here.
Powershell Remove Old Java Versions
JakeGould36k1010 gold badges113113 silver badges155155 bronze badges
KlodiKlodi