How To Install / Update Java On Amazon AWS Linux

Published: 12 July 2018
on channel: Automation Step by Step
37,195
242

How to install/update java on linux
(AWS ec2 AMI)

Today we will learn:
1. How to install java on amazon aws linux
2. How to update java

Step 1 : Check if java is already installed
java -version
javac -version

Step 2 : Update existing packages
sudo yum update
Get Java
https://stackoverflow.com/questions/1...

wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk8-downloads-2133151.html; oraclelicense=accept-securebackup-cookie;" "http://download.oracle.com/otn-pub/ja..."

As of 07-11-2020 this link works
wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/j... -O ~/Downloads/jdk-14.0.1_linux-x64_bin.rpm

Step 3 : Install java
sudo rpm -i jdk-8u171-linux-x64.rpm




Step 4 : Select Java to be used sudo /usr/sbin/alternatives --config java

____________________________________________________________
HIT SUBSCRIBE & BELL TO GET NEW VIDEOS

Become a member & get exclusive perks - Click the JOIN button

   / @raghavpal  

_______ ONLINE COURSES TO LEARN _______

https://automationstepbystep.com/909-...

----------- UI TESTING -----------
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework - https://bit.ly/2Px6Ue9

----------- API TESTING -----------
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
General - https://bit.ly/2PYdwmV
Katalon Studio API Testing - https://bit.ly/2BwuCTN

----------- MOBILE TESTING -----------
Mobile Playlist - https://bit.ly/2PxpeUv

----------- CI | CD | DEVOPS -----------
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx

----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - https://bit.ly/2Q1pagY

----------- PERFORMANCE TESTING -----------
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips & Tricks - https://bit.ly/2NOfWD2
Performance Testing - https://bit.ly/2wEXbLS

----------- JAVA -----------
Java Beginners - https://bit.ly/2PVUcXs
Java Tips & Tricks - https://bit.ly/2CdcDnJ

----------- MAVEN -----------
Maven - https://bit.ly/2NJdDRS

----------- OTHERS -----------
Redis- https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools & Tips - https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO

Ask Raghav - https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA


Keep Learning,
Raghav

Website - https://automationstepbystep.com/
LifeCharger -
Udemy Courses - https://www.udemy.com/user/raghav-pal-3/
Facebook -   / automationstepbystep  
Twitter -   / automationsbs  
Youtube -    / automationstepbystep  


On this page of the site you can watch the video online How To Install / Update Java On Amazon AWS Linux with a duration of hours minute second in good quality, which was uploaded by the user Automation Step by Step 12 July 2018, share the link with friends and acquaintances, this video has already been watched 37,195 times on youtube and it was liked by 242 viewers. Enjoy your viewing!