Update brew java version to JDK 11

Refs f8524a2be7
Refs 7b51a0313e
This commit is contained in:
Romain Vimont 2021-04-04 14:36:48 +02:00
parent d50c678a5f
commit 2812de8a9a

View file

@ -208,8 +208,8 @@ make it avaliable from the `PATH`:
```bash
brew tap homebrew/cask-versions
brew install adoptopenjdk/openjdk/adoptopenjdk8
export JAVA_HOME="$(/usr/libexec/java_home --version 1.8)"
brew install adoptopenjdk/openjdk/adoptopenjdk11
export JAVA_HOME="$(/usr/libexec/java_home --version 1.11)"
export PATH="$JAVA_HOME/bin:$PATH"
```