Install jdk on solaris

download here

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



 wget  --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com"    --no-check-certificate http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-solaris-i586.tar.gz -O  jdk-7u25-solaris-i586.tar.gz

 wget  --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com"    --no-check-certificate http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-solaris-x64.tar.gz -O  jdk-7u25-solaris-x64.tar.gz







gzip -dc jdk-7u -solaris-i586.tar.gz | tar xf -

gzip -dc jdk-7u -solaris-x64.tar.gz | tar xf -

http://docs.oracle.com/javase/7/docs/webnotes/install/solaris/solaris-jdk.html