I want to install Storm in my own machine(Ubuntu 12.04 LTS) and I follow the instructions in
https://github.com/nathanmarz/storm/wiki/Installing-native-dependencies.
When I installing jzmq, I firstly successfully perform the command
sudo ./autogen.sh
however, when I perform
sudo ./configure
The configuration error:
'configure: error: the JAVA_HOME environment variable must be set to your JDK location.'
appears.
I have set the JAVA_HOME using
sudo gedit /etc/profile
export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_35
export JRE_HOME=.....
export CLASSPATH=......
source /etc/profile
and the output of
echo $JAVA_HOME
is
'/usr/lib/jvm/jdk1.6.0_35'.
I do not know why the error happens, anyone knows it? Thanks a lot.