Switch to homebrew cask for java

Old recipe was broken on Mavericks