Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d18e0cb5 authored by Neil Fuller's avatar Neil Fuller Committed by Android (Google) Code Review
Browse files

Merge "Add a warning if developers are not using JDK 8"

parents b6ef1bfe 1084631c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1427,6 +1427,9 @@ function set_java_home() {

    if [ ! "$JAVA_HOME" ]; then
      if [ ! "$EXPERIMENTAL_USE_JAVA8" ]; then
        echo JDK 8 will soon become the default. Please install it now.
        echo Also: \"export EXPERIMENTAL_USE_JAVA8=true\"
        echo See http://go/android-jdk8-discuss
        case `uname -s` in
            Darwin)
                export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)