java doesn't add a path for you. you have to do it yourself in either /etc/profile (using pathmunge) or in each user's .bashrc or .bash_profile.
lot's of different ways. i use pathmunge as that sets the environment variable system wide.
after doing that, you'll need to at least open a new shell. if that doesn't work, then logging out and back in should.