aboutsummaryrefslogtreecommitdiff
path: root/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'env.sh')
-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"
-