If I brew --config
, I see
#...
Java: 1.8.0_60
which is what my my OS X Java Control Panel reported until I recently updated. Now the control panel reports the new version
Java 8 Update 65
but brew --config
continues to report the old one.
Why do these two versions of Java differ? I haven't explicitly installed a different Java with Homebrew, and had always thought that Homebrew was reporting the version of he one Java I'm aware of: the one I installed when Java notified be of an update.
Best Answer
Accoding to the Java 8 JRE documentation
To solve this problem, you have to install the JDK.
One easy way to do it is with Homebrew-Cask :
If you already installed a previous java version via Homebrew Cask :