/
How to setup JDK7 and/or JDK8

How to setup JDK7 and/or JDK8

Download JDK archives from Oracle site: 


Install packages:
sudo apt-get install libc-dev libm-dev c++-sunpro libsendfile-dev

Setup your JAVA_HOME and PATH to 'java' tools: export JAVA_HOME=<PATH to decompressed archive>

you have to decompress 32bit first of solaris version and after that 64bit to the same directory.
Needs for JDK8:
apt install oracle-java8-jdk libx11-6 libxi6 libxtst6

root@z102:~# ln -s libX11.so.6 /usr/lib/64/libX11.so.4
root@z102:~# ln -s libXi.so.6 /usr/lib/64/libXi.so.5
root@z102:~# ln -s libXtst.so.6 /usr/lib/64/libXtst.so.1

Related content

Solaris linker flags mapping table.
Solaris linker flags mapping table.
More like this
How to upgrade DilOS from APT repo
How to upgrade DilOS from APT repo
More like this
How to create local repository in the zone
How to create local repository in the zone
More like this
Solaris Service Management Facility - Quickstart Guide
Solaris Service Management Facility - Quickstart Guide
More like this
Configure LDOM
Configure LDOM
More like this
SMF Best Practices and Troubleshooting
SMF Best Practices and Troubleshooting
More like this