I\'m trying to install Hadoop on Ubuntu 11.10. I set the JAVA_HOME variable in the file conf/hadoop-env.sh to:
JAVA_HOME
conf/hadoop-env.sh
# export JAVA_HOME=
I tried the above solutions but the following worked on me
export JAVA_HOME=/usr/java/default