Monthly Archives: August 2017

Install Oracle Java JDK CentOS command line

Scenario: How to install Oracle Java JDK rpm on CentOS/RHEL using command line.

Steps:
1) Go to Oracle Java download page here -> select Java rpm package then right click copy link address.
2) Putty to server then use curl command below

curl -v -j -k -L -H "Cookie: oraclelicense=accept-securebackup-cookie" paste here the url > /tmp/jdk-file.rpm

Continue reading