This commit is contained in:
Heitor Neiva 2022-10-13 10:06:31 -07:00
Родитель a9b8e5f185
Коммит b3a2fb848f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: EE2FA5C6174729EF
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -245,7 +245,7 @@ specific gradle versions and are in charge of installing it locally.
# On mac with homebrew
brew install openjdk@8
# On Ubuntu
# On Ubuntu
sudo apt install openjdk-8-jdk
⚠️ Currently projects like Focus and Fenix need Java 11 to run, so you might need to install that version and set your $JAVA_HOME to that version.
@ -265,10 +265,7 @@ specific gradle versions and are in charge of installing it locally.
# In your .zshrc or .bashrc:
# On mac
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
# If java_home doesn't work, you can use this to get java home instead:
java -XshowSettings:properties -version 2>&1 | grep java.home
export JAVA_HOME="$(java -XshowSettings:properties -version 2>&1 | grep java.home | sed 's/.* //')"
# On Ubuntu follow symlinks to find JAVA_HOME
ls -l `which java`