To upgrade JDK on Solaris 2.x ============================= 1) Check JDK version. # pkginfo | grep jv # java -version 2) Remove old version of JDK Need to delete SUNWjvdem SUNWjvdev SUNWjvjit SUNWjvman SUNWjvrt # for i in `pkginfo | grep jv | awk '{print $2}'` > do > pkgrim $i > done 3) Get newer version of JDK and untar in /opt 4) # pkgadd -d . SUNWjvdem SUNWjvdev SUNWjvjit SUNWjvman SUNWjvrt 5) # chown - R root:sys SUNWjv* 6) # chown root L* R* 7) # ln -s /usr/java1.1 /usr/java 8) Edit .profile to add CLASSPATH=/usr/java/lib/classes.zip