How to install Java in Ubuntu?

Published: 13 August 2019
on channel: Sanket Shanbhag - Technical Coach
241
10

Java installation commands:
----------------------------------------------
sudo su
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install default-jdk

Java Installation verification:
----------------------------------------------
java -version

Note: If you are getting error (E: Problem executing scripts APT::Update::Post-Invoke-Success) while update process, type below command:
--------------------------------------------------------
sudo apt-get remove libappstream3


Watch video How to install Java in Ubuntu? online without registration, duration hours minute second in high quality. This video was added by user Sanket Shanbhag - Technical Coach 13 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 241 once and liked it 10 people.