Updated Java to version 1.8.0.

Major `java` release.
Is that right to override current `1.7.0_51` version. Maybe separate casks needed for different java versions?