Download carefully and verify build versions, as I have been able to find both b25 (jre-8u40-macosx-x64.dmg) and b26 (jre-8u40-fcs-bin-b26-macosx-x86_64-07_mar_2015.dmg) on the Oracle Java site today.
mactastic:~ admin$ /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
So I just went to look for the installer .pkg and don't see it?
Also, downloading and installing the "JavaAppletPlugin.pkg" gives me:
java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Nicely done, Oracle.
@rtrouton I am not sure why, but I just tried downloading this today from the main Java download link you posted and I am still getting the nasty application installer with Ask.com and an embedded .pkg file that is not signed. I even tried downloading via Chrome and Firefox to see if that would trigger the page grabbing a different installer but they grabbed the same thing as Safari.
If I use the .pkg installer embedded in the application and check the version via the control panel the version is 1.8.0_40-b27.
Is there something you did differently to get the signed installer package?
Confirmed, Oracle's changed the installer available from https://www.java.com/download/ back to being the install application.
There is also a new build number for the version of Java installed: Java 8 Update 40, build 27.
The installer package stored inside the install application (/path/to/Java 8 Update 40.app/Contents/Resources/JavaAppletPlugin.pkg) is now a signed installer.
"Previously, on Java 8..."
Java 8 Update 40b25 was an unsigned installer application (.app) with optional Ask.com adware. Boo!
Java 8 Update 40b26 went to a signed package installer (.pkg) with no adware. Yay!
Java 8 Update 40b27 went to a signed installer application (.app). with optional Ask.com adware. Boo!
At this point, I think I'll hedge my bets and just keep extracting & rolling my own a la @rtrouton.
Stay tuned for Update Java 8 Update 40b28, kids!