Uninstalling old Versions of Java Client

TGH Blank Thumbnail

As you are probably aware, we provide Java client installation packages when they are released so that you can keep your systems up to date. A lot of people recently have been asking about the uninstall of the old Java clients when installing the new ones. Well, below is a full guide on how to do this, but we have also updated our Java Archive Microsite with full instructions on how to do it too.

Uninstalling the old version of Java Client using MSI Installer

Run the following command to uninstall the JRE:

32-bit JRE:

msiexec /x {26A24AE4-039D-4CA4-87B4-2F83218025F0} /qb /norestart

64-bit JRE:

msiexec /x {26A24AE4-039D-4CA4-87B4-2F86418025F0} /qb /norestart

The value in curly braces is the MSI product code for the JRE you want to uninstall. The text in blue, 18025, correlates to the JRE version 1.8.0_25. Modify the MSI product code accordingly depending on the JRE version that you want to uninstall.

Using the old version of Java Client using Offline EXE Installer

You can use this simple command to carry out the uninstall of old versions of Java Client (silently due to the /s variable):

jre1.8.0_91.exe /s REMOVEOUTOFDATEJRES=1

But if you want to carry out more advanced changes, you will need to create a configuration file to use alongside the offline EXE installer. So, create a text file, save it as a .cfg extension and you should use the options below to carry out what you want to do with your installer:

You also have all of these options to add to your configuration file:

INSTALL_SILENT=Enable, Disable

INSTALLDIR=PATH

AUTO_UPDATE=Enable, Disable

WEB_JAVA=Enable, Disable

WEB_JAVA_SECURITY_LEVEL=H (high), VH (very high)

EULA=Enable, Disable

REBOOT=Enable, Disable

NOSTARTMENU=Enable, Disable

SPONSORS=Enable, Disable

The command line you would then use to run the offline installer and configuration file would be:

jre1.8.0_91.exe INSTALLCFG=PATH/configfile.cfg

Comments

If you have any questions or any feedback on this post, please feel free to leave us a message below in our comments section.

Free Subscription!Subscribe to our site to receive updates via email!

Enter your email address below and click the Subscribe button to receive email notifications about new and exciting downloads available through our website at https://www.techygeekshome.com

You will also receive notifications about new technical guides, latest news and MSI installer downloads that are available through our blog here at https://blog.techygeekshome.info 

We will not spam you and we will not pass on any of your details to anyone else. We tend to post new content once or twice a week.

Join 232 other subscribers

You can unsubscribe any time you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong