Is there a way to update the JDK without manually downloading the new version?

后端 未结 5 1502
孤街浪徒
孤街浪徒 2020-12-28 13:21

I just got an Java update notification that Update 17 is out, so I ran the update and found that only my public JRE was updated. I still only have Update 16 of the JDK.

5条回答
  •  甜味超标
    2020-12-28 13:27

    On MacOS, java can now be installed through the Homebrew package manager. After installing Homebrew, you can simply run:

    brew cask install java

    to install the latest java version. It can then be kept up using

    brew cask reinstall java

提交回复
热议问题