update brew cask install to brew install --cask

For MacOS in 2021:
brew cask install is no longer valid and has since been replaced with brew install --cask 

check https://brew.sh
This commit is contained in:
Sanjit Kumar 2021-02-11 11:24:26 +05:30 committed by GitHub
parent d5cad5508a
commit 36595ec500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ The following need to be done at least once. They do not need to be repeated for
-- OS X:
1. Install BellSoft Java 8.
% brew tap bell-sw/liberica
% brew cask install liberica-jdk8-full
% brew install --cask liberica-jdk8-full
2. Set JAVA_HOME environment variable to location of JRE installation.
e.g. add the following to ~/.bashrc
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)