Disable Java Auto Update without registry modification?
Recently i had to install Oracle Java on a Terminal server and was curious, if it’s possible to configure the package that the auto update feature is disabled without any registry configuration?
On the Oracle website i found a great article about the possibility to pass a configuration file to the installer:
Here’s the syntax to install Java silently with a custom configuration:
jre-8u121-windows-x64.exe -s INSTALLCFG="C:\Install\Java\java.settings.cfg" AUTO_UPDATE=Disable EULA=Disable NOSTARTMENU=Enable SPONSORS=Disable
You can find a full reference of all configuration items here: https://docs.oracle.com/javase/8/docs/technotes/guides/install/config.html
Please be careful when using the
REMOVEOUTOFDATEJRES=1 option, because when you install the same Java version in a different architecture (x86 & x64), the other architecture with the same version is being removed during the installation!
You can find more information on the About section of my blog. Stay tuned for more posts.