JRE 1.6 won't install on Solaris 10 i586

Out of all the operating systems I've installed JRE 1.6 onto recently, Solaris 10 seems the hardest...which is quite funny I guess.

So, I'm trying to install 1.6 onto the i586 version of solaris, installing seems about the same as Linux, I agree to the licence, it installs all the files and says its done with no errors showing.

But when I type : java -version it still says 1.5

Do I need to somehow 'activate' it.

[444 byte] By [forgeuka] at [2007-11-27 9:21:35]
# 1

Most likely you installed from the self-extracting binary. Assuming so, then you need to update your PATH environment variable to include the 'bin' directory in the 1.6 JDK you just installed.

Say you installed the jdk into the directory: /my/foo/jdk1.6.0

Then add the directory '/my /foo/jdk1.6.0/bin' to your PATH. In ksh,

PATH=/my/foo/jdk1.6.0/bin:$PATH

jxca at 2007-7-12 22:15:30 > top of Java-index,Desktop,Runtime Environment...