Skip to main content

Posts

Showing posts with the label JAVA

HOW TO INSTALL JAVA IN SOLARIS 11 OR SOLARIS 11 ZONES

1.-Set proxy with user and password if you have proxy with authentication or without it #export https_proxy=https://sun:sun@192.168.100.100:8080 #export http_proxy=http://sun:sun@192.168.2.100.100:8080 2.- Set publisher in order to use the Oracle Support Repository #pkg set-publisher -k  /var/pkg/ssl/pkg.oracle.com.key.pem -c /var/pkg/ssl/pkg.oracle.com.certificate.pem -g https://pkg.oracle.com/solaris/support/  solaris 3.-You can search the packages availables in my case I need to install JAVA 8 #pkg search -p java PACKAGE                                                                 PUBLISHER pkg:/SUNWj6cfg@1.6.0.999.99                                             solaris pkg:/SUNWj6dev@1.6.0.999.99                                             solaris pkg:/SUNWj6dmo@1.6.0.999.99                                             solaris pkg:/SUNWj6dmx@1.6.0.999.99                                             solaris pkg:/SUNWj6dvx@1.6.0.999.99