mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-02 22:29:25 +00:00
There is java8 in Homebrew Cask
This commit is contained in:
parent
e8510a8cc3
commit
1d8adfc7d5
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -124,13 +124,15 @@ 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
|
||||||
install it manually and make it available from the `PATH`:
|
from Caskroom, and 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"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue