Terry : JDK Solaris installation

Extract the package

zcat jdk-6 <update> -solaris-x64.tar.Z | tar -xf -

Remove earlier versions

pkgrm SUNWj6rtx SUNWj6dvx SUNWj6dmx

Install JDK 6

pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx

Note: To use 64-bit JVM on Solaris 10 on x64/EM64T processors, Install solaris-i586 (32-bit) with solaris-x64 (64-bit).

Remove JDK 5

pkgrm SUNWj5rt SUNWj5dev SUNWj5cfg SUNWj5man SUNWj5dmo

Install Solaris Patches

patchadd /path/patch_number

Reference:

http://java.sun.com/j2se/1.5.0/install-solaris.html

http://www.oracle.com/technetwork/java/javase/index-137561.html