Add instructions to install Java 8 on macOS

And remove gcc from the packages list, clang is available by default.
This commit is contained in:
Viktor Oreshkin 2018-03-13 05:35:38 +03:00 committed by Romain Vimont
parent e0e8dfeb3b
commit 4d50832f8e

View file

@ -125,13 +125,16 @@ Use [Homebrew] to install the packages:
brew install sdl2 ffmpeg brew install sdl2 ffmpeg
# client build dependencies # client build dependencies
brew install gcc pkg-config meson brew install pkg-config meson
``` ```
Java (>= 7) is not available in Homebrew, so if you plan to build the server, Additionally, if you want to build the server, install Java 8 from Caskroom, and
install it manually and make it available from the `PATH`: make it avaliable from the `PATH`:
```bash ```bash
brew tap caskroom/versions
brew cask install java8
export JAVA_HOME="$(/usr/libexec/java_home --version 1.8)"
export PATH="$JAVA_HOME/bin:$PATH" export PATH="$JAVA_HOME/bin:$PATH"
``` ```