flezoqax.blogg.se

Yum install java
Yum install java













yum install java

Where oraclelicense is the name of the cookie and accept-securebackup-cookie is its value. –header “Cookie: oraclelicense=accept-securebackup-cookie”

yum install java

NOTE -> It is important to manually instruct wget to send the cookie and here this is done using Wget -no-check-certificate -no-cookies -header "Cookie: oraclelicense=accept-securebackup-cookie" Step 3 -> Download RPM package of Oracle JDK (8u121)

yum install java

Step 2 -> Check the Java version java -versionĪs can be seen in the image above, java 7 is installed on the EC2 instance by default. Refer Step 4 of this blog to ssh to your instance. Following steps must be followed sequentially : Step 1 -> Ssh to your instance In this blog we will explore the procedure to install latest java 8 version ie JDK 8u121 (released on 17th January, 2017) on the EC2 Linux instance which comes with centOS as its default operating system.















Yum install java