I install RJB ruby gem on UBUNTU 11. * I added
export JAVA_HOME=/usr/lib/jvm/java-6-... export PATH=$PATH:$JAVA_HOME/bin
to the .bashrc in the home directory. But still this generates an error or JAVA_HOME not set.
Does anyone know what is wrong?
echo $JAVA_HOME shows exactly the right path. And I logged in again, even rebooted. But still it produces the same error.
source share