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:
- Use Windows-Pause to open the System Control Panel applet.
- Click on "Control Panel Home" in the upper left corner of the window opening up.
- Click on the Java applet.
- Switch to the advanced tab in the Java Control Panel window.
- Scroll all the way down to "miscellaneous" and check "Suppress sponsor offers when installing or updating Java.
If you are using a Mac, do the following instead:
- Click on the Apple icon.
- Go to System Preferences.
- Click on the Java icon to access the Java Control Panel.
- Follow the last entry of the Windows instruction.
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.