<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Java on Nicola Suter</title><link>https://nicolasuter.ch/tags/java/</link><description>Recent content in Java on Nicola Suter</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Nicola Suter</copyright><lastBuildDate>Tue, 10 Oct 2017 17:00:01 +0000</lastBuildDate><atom:link href="https://nicolasuter.ch/tags/java/rss.xml" rel="self" type="application/rss+xml"/><item><title>Disable Java Auto Update During Installation</title><link>https://nicolasuter.ch/disable-java-auto-update/</link><pubDate>Tue, 10 Oct 2017 17:00:01 +0000</pubDate><guid>https://nicolasuter.ch/disable-java-auto-update/</guid><description>&lt;blockquote&gt;&lt;p&gt;Disable Java Auto Update without registry modification?&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;Recently i had to install Oracle Java on a Terminal server and was curious, if it&amp;rsquo;s possible to configure the package that the auto update feature is disabled without any registry configuration?&lt;/p&gt;

&lt;h2 class="relative group"&gt;Custom configuration
 &lt;div id="custom-configuration" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#custom-configuration" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;On the Oracle website i found a great article about the possibility to pass a configuration file to the installer:&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the syntax to install Java silently with a custom configuration:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;jre-8u121-windows-x64.exe -s INSTALLCFG=&amp;quot;C:\Install\Java\java.settings.cfg&amp;quot; AUTO_UPDATE=Disable EULA=Disable NOSTARTMENU=Enable SPONSORS=Disable&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can find a full reference of all configuration items here: &lt;a href="https://docs.oracle.com/javase/8/docs/technotes/guides/install/config.html" target="_blank" rel="noreferrer"&gt;https://docs.oracle.com/javase/8/docs/technotes/guides/install/config.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please be careful when using the &lt;code&gt;REMOVEOUTOFDATEJRES=1&lt;/code&gt; option, because when you install the same Java version in a different architecture (x86 &amp;amp; x64), the other architecture with the same version is being removed during the installation!&lt;/p&gt;
&lt;p&gt;You can find more information on the &lt;a href="http://tech.nicolonsky.ch/about/" target="_blank" rel="noreferrer"&gt;About&lt;/a&gt; section of my blog. Stay tuned for more posts.&lt;/p&gt;</description></item></channel></rss>