Update brew cask documentation
The command `brew cask` has been deprecated: <https://github.com/Homebrew/discussions/discussions/340#discussioncomment-232364> Should be `brew install` directly now. PR #2231 <https://github.com/Genymobile/scrcpy/pull/2231> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
2
BUILD.md
2
BUILD.md
@@ -208,7 +208,7 @@ make it avaliable from the `PATH`:
|
||||
|
||||
```bash
|
||||
brew tap homebrew/cask-versions
|
||||
brew cask install adoptopenjdk/openjdk/adoptopenjdk8
|
||||
brew install adoptopenjdk/openjdk/adoptopenjdk8
|
||||
export JAVA_HOME="$(/usr/libexec/java_home --version 1.8)"
|
||||
export PATH="$JAVA_HOME/bin:$PATH"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user