Adding it in the .bashrc should do the trick unless you don't use bash shell at all.
Did you do
from your terminal?
The source command only affects the current terminal where you issued that command and all the new terminal opened that you're going to open later on. The other existing terminals won't be affected by the changes. You need to close them first.
But you can always restart the OS to reflect the changes.
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4