Committed by
Gerrit Code Review
Use OpenJDK version 8 rather than 7 in bash_profile
Change-Id: Ie8de65f2194feee578d4f4622e01cabb45445bbb
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -11,8 +11,8 @@ if [ -z "${JAVA_HOME}" ]; then | ... | @@ -11,8 +11,8 @@ if [ -z "${JAVA_HOME}" ]; then |
11 | export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) | 11 | export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) |
12 | elif [ -d /usr/lib/jvm/java-8-oracle ]; then | 12 | elif [ -d /usr/lib/jvm/java-8-oracle ]; then |
13 | export JAVA_HOME="/usr/lib/jvm/java-8-oracle" | 13 | export JAVA_HOME="/usr/lib/jvm/java-8-oracle" |
14 | - elif [ -d /usr/lib/jvm/java-7-openjdk-amd64 ]; then | 14 | + elif [ -d /usr/lib/jvm/java-8-openjdk-amd64 ]; then |
15 | - export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64" | 15 | + export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64" |
16 | fi | 16 | fi |
17 | fi | 17 | fi |
18 | 18 | ... | ... |
-
Please register or login to post a comment