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:
Almog Kurtser
2026-01-22 17:48:42 +02:00
committed by Romain Vimont
parent c8c1316db9
commit 3fcc177da5

View File

@@ -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"
```