Blog

Check your current Java version:

java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4828a)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

DO NOT TRY to update your Java by downloading from the java.com website, it didn't work for me!

Update Java with homebrew:

brew update
brew cask install java

Check your Java version (again):

java -version
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
Zoeken