Java for OS X 2015-001 installs the legacy Java 6 runtime for OS X 10.11 El Capitan, OS X 10.10 Yosemite, OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and OS X 10.7 Lion.
This package is exclusively intended for support of legacy software and installs the same deprecated version of Java 6 included in the 2014-001 and 2013-005 releases.
Quit any Java applications before installing this update.
Download the Java for Mac OS X update here. When it downloads, locate the file, double-click the DMG file to expand it and then run the installer to update your Java for Mac OS X.