The guide offers three methods to disable sponsored offers during the installation or upgrade of Java on machines running the Windows operating system.
Sun Oracle's Java is widely used both on the Internet and also locally on computer systems. While it is still being used on the Internet, modern browsers such as Chrome or Firefox will or already have removed plugin support for Java preventing users of the browser to access content on the Internet that requires the plugin.
Applications may require Java to run, and while some may ship with the Java installer included to make things easier for the user in regards to adding Java to the system, others require that Java is already installed on the system to run.
This installer may include third-party offers (adware) that is not required to run Java. As is the case with most of these offers, it is selected to be installed by default and if you don't pay attention to the installation dialog, will be installed on the computer system automatically during the process.
Computer users have three options to avoid Java offers, with one of them being limited.
Note: Sponsored offers are included in Java for the Windows platform and Mac OS X.
Option 1: Using the Java Control Panel applet
This is the easier, and recommended method according to Oracle, to block sponsored offers during installation or upgrade of Java on a computer running Windows.
Here is how you get there:
If you are using a Mac, do the following instead:
Option 2: Command line parameter
The method won't work, obviously, if Java is not installed on the system. That's when the command line parameter SPONSORS=0 comes in handy.
Basically, what you need to do is run the Java installer from the command line with the parameter to block sponsor offers during installation.
Option 3: Full Installer
Java is offered as a stub installer and full installer. By default, the stub installer is provided which requires a working Internet connection during installation to download installation files (and the sponsored offer).
The full installer for Java on the other hand ships without sponsored offers. This makes it an ideal candidate for first-time installations of Java on computer systems.
In addition, you may upgrade Java by downloading the latest version of the full installer instead of using Java's automatic update feature.
Use the manual download page on the Java website to grab the offline installer for your operating system.
I still recommend that you make sure that there are no sponsored offers included during installation.
If you don't need Java to access online content, you may want to make sure that it is disabled in the web browser of choice.
If you do need it, you may want to limit the exposure of Java. In Firefox you could set it to click to play for instance so that it is not executed automatically on sites you visit.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.