wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.tar.gz" cp xzf jdk-8u141-linux-x64.tar.gz /usr/lib/jvm/ cd /usr/lib/jvm/ tar xzf jdk-8u141-linux-x64.tar.gz cd jdk1.8.0_141 alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_141/bin/java 2 alternatives --config java (choose the right one) copy sqlcl-17.2.0.184.1230-no-jre.zip to linux server unzip into a directory cp <path>/bin/sql into /usr/lib/jvm/jdk1.8.0_141/bin/ cp <path>/lib/* into /usr/lib/jvm/jdk1.8.0_141/lib/ change permissions of the new files (e.g. uucp:143) export PATH=$PATH:/usr/lib/jvm/jdk1.8.0_141/bin if TNS_ADMIN is set you can use tnsnames syntax :sql system/oracle_4U@ORCL othewise use ezconnect syntax : sql system/oracle_4U@rh6-121-rac2:1521/fox2