Skip to content

Java Installation – Ubuntu

Step-1: Environment

Ubuntu 16.04 LTS
Google Cloud Platform
Oracle Java

Step-2: Adding the Repository

$ sudo add-apt-repository ppa:webupd8team/java

Step-3: Update the repository cache

$ sudo apt-get update

Step-4: Installing Java 1.8.x

$ sudo apt-get install oracle-java8-installer
$ sudo apt-get install oracle-java8-set-default

Step-5: Setting Environmental Variables

$ source /etc/profile.d/


java, Linux



Shashi View All

A passionate devops and automation engineer

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: