From 4d50832f8ea71e2039092a83e2523b41c77a00e8 Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Tue, 13 Mar 2018 05:35:38 +0300 Subject: [PATCH] Add instructions to install Java 8 on macOS And remove gcc from the packages list, clang is available by default. --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb516f56..2cfc2301 100644 --- a/README.md +++ b/README.md @@ -125,13 +125,16 @@ Use [Homebrew] to install the packages: brew install sdl2 ffmpeg # 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, -install it manually and make it available from the `PATH`: +Additionally, if you want to build the server, install Java 8 from Caskroom, and +make it avaliable from the `PATH`: ```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" ```