aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-21 11:14:11 +0100
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-21 11:14:11 +0100
commitd6cbb501d660f17da0867e361ed86db314cb7c5a (patch)
tree9cc28eb1da343e432ffc707a11761e2dad74f5bb
parent3aea9a8cf77fa83fcd9f4ce653e87b7097e4c262 (diff)
downloadopenjdk8-hadoop-LCA14-d6cbb501d660f17da0867e361ed86db314cb7c5a.tar.gz
Remove setting of JAVA_HOME
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
-rw-r--r--env.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/env.sh b/env.sh
index 97640ad..d96801f 100644
--- a/env.sh
+++ b/env.sh
@@ -26,15 +26,4 @@ export PATH=${HADOOP_COMMON_HOME}/bin:${HADOOP_COMMON_HOME}/sbin:${HADOOP_COMMON
# Add wrappers for running teragen demos
export PATH=${THISDIR}/demo:$PATH
-if [ -z "$JAVA_HOME" ]; then
- if [ -x /usr/lib/jvm/java-8-openjdk/bin/java ]; then
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
- elif [ -x /usr/lib/jvm/java-8-openjdk/jre/bin/java ]; then
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre
- else
- echo "Cannot find java-8-openjdk"
- fi
-fi
-
[ -n "$PS1" ] && echo "JAVA_HOME=$JAVA_HOME"
-