I am installing RJB by ruby gem on UBUNTU 11.* I added the
export JAVA_HOME=/usr/lib/jvm/java-6-...
export PATH=$PATH:$JAVA_HOME/bin
to the .bashrc
file at home directory.
But still it throws the err or JAVA_HOME
not set.
Does anyone know what is wrong?
echo $JAVA_HOME
shows exactly the right path.
And I did log on again, even reboot. But still throws the same error.