Question: Why did you install to your home directory instead of into /opt? This is the normal location for java.
Solution: You most likely did not log out and back in. bash profile is not automatically re-read when you run a command, it is sourced at login time. You can also re-read it manually by typeing ". .bash_profile"(note the space between periods) or "source .bash_profile"