mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-14 02:14:27 +01:00
Use OpenJDK instead of Adoptium on Mac
PR #6621 <https://github.com/Genymobile/scrcpy/pull/6621> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
c8c1316db9
commit
3fcc177da5
@@ -172,8 +172,7 @@ Additionally, if you want to build the server, install Java 17 from Caskroom, an
|
||||
make it available from the `PATH`:
|
||||
|
||||
```bash
|
||||
brew tap homebrew/cask-versions
|
||||
brew install adoptopenjdk/openjdk/adoptopenjdk17
|
||||
brew install openjdk@17
|
||||
export JAVA_HOME="$(/usr/libexec/java_home --version 1.17)"
|
||||
export PATH="$JAVA_HOME/bin:$PATH"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user