I'm trying to update Java version on Solaris 10. I have downloaded a tarball jre-8u73-solaris-x64.tar.gz. Using these commands:
which java
/usr/bin/java
gzip -dc jre-8u73-solaris-x64.tar.gz | tar xf -
java -version
java version "1.6.0_65"
The version shown is the old version, 1.6.0_65.
What command am I missing?