Friday, December 23, 2016

How to install Oracle 8 on Debian 8.6 via a PPA in just 5 steps

Hello All.. 

This post explains how to install Oracle 8 on Debian based systems and specifically on Debian 8.6... 

Oracle 8 is needed for many applications and though OpenJDK( is the default in LINUX, it makes sense to install both many a times...

While configuring Android Studio 2.2.3, I had to mandatorily configure Oracle 8 with the below following steps (as the root user):

1. echo "deb xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list

2. echo "deb-src xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list

3.  apt-key adv --keyserver hkp:// --recv-keys EEA14886

4. apt-get update

5. apt-get install oracle-java8-installer

Thats it...

And to make Oracle 8 as the default, 

Execute this below command:

1. apt install oracle-java8-set-default

Hope this helps...
Ananth S Gouri

No comments:

Post a Comment