Skip to content

Commit 12f8294

Browse files
authored
Remove Java 8 if condition in github.sh (#8091)
#7967
1 parent fbfb5bb commit 12f8294

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tool/github.sh

-10
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ flutter doctor
2828
export FLUTTER_SDK=`pwd`/../flutter
2929

3030
echo "IDEA_VERSION=$IDEA_VERSION"
31-
# TODO(mossmana): https://github.com/flutter/flutter-intellij/issues/7967
32-
if [ "$IDEA_VERSION" = "4.0" -o "$IDEA_VERSION" = "4.1" ] ; then
33-
34-
# Install Java 8 if running on 4.0 or 4.1.
35-
wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add -
36-
sudo add-apt-repository 'deb https://apt.corretto.aws stable main'
37-
sudo apt-get update; sudo apt-get install -y java-1.8.0-amazon-corretto-jdk
38-
export PATH=/usr/lib/jvm/java-1.8.0-amazon-corretto/jre/bin:$PATH
39-
40-
fi
4131

4232
echo "java --version"
4333
java --version

0 commit comments

Comments
 (0)