Skip to content

Commit 58e7a33

Browse files
author
Oscar José Fernandes Tanner
committed
Use Java 11 instead of 8
1 parent 11a2f6b commit 58e7a33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ brew update
2323
brew tap caskroom/versions
2424

2525
# Already installed in brew.sh
26-
brew cask install --appdir="~/Applications" java
26+
brew cask install openjdk@11
27+
sudo ln -sfn $(brew --prefix)/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk
28+
2729
# brew cask install --appdir="~/Applications" Caskroom/versions/intellij-idea-ce
2830
brew cask install --appdir="~/Applications" android-studio
2931

0 commit comments

Comments
 (0)