Java was developed by Sun Microsystems and first released in 1995. Since Oracle Corporation acquired Sun in 2010, the development of Java programming language has continued. While Java can be freely
downloaded and installed on your Mac, it recently has begun to carry some undesirable baggage.
Beginning with Java 8 Update 40 for the Mac, Oracle has begun including a version of the Ask.com browser toolbar. This is generally considered Adware and has only been found on the Windows version of Java previously. Adware like this is considered by most to be a form of malware (malicious software).
The latest Java installer now adds the Ask toolbar to both Safari and Google Chrome by default. A user can opt out of the installation, but only if they are paying close attention while Java is being installed.
If the Ask toolbar gets installed, uninstalling Ask is straight forward. For Safari go to Safari >> Safari Extensions. For Chrome, the Ask toolbar can be removed directly from the toolbar’s help menu.
NOTE: This will only affect you if you have installed Oracle Java onto your Mac!