I am trying to upgrade Java. I downloaded Java SE 7 from the main site and followed the installation instructions. However, I get the following version information whenever I check my java and javac versions from the command line.

>java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
>javac -version
javac 1.6.0_33

Why did the installation not upgrade java and javac as well?