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/jdk.sh

Shashi View All

-== Superman ==-

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: