Java does not update, you just install a newer version.
You can get update 2 here:
http://tinyurl.com/3cf6gq
You want the non-rpm version. It is a self installing binary but you
must make it executable using "chmod +x ???.bin"
Java is installed in the "/usr/lib/jvm" directory on Ubuntu but you can
put in in /opt if you want. Then just change the symbolic link to the
java executable in "/usr/bin".
You could install in "/opt" to if you want, as long as you change the
symbolic link accordingly.
Install it using sudo.