Introduction to Linux - A Hands on Guide | Linux Bible | Linux From Scratch | A Newbie's Getting Started Guide to Linux | Linux Command Line Cheat Sheet | More Linux eBooks



Saturday, 1 March 2014

How To : Install Oracle Java (JDK) 6/7/8 in Ubuntu/Linux Mint

how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux, how-to-install-oracle-java-jdk-6-7-8-in-linux,
     This small article is intended to guide you to install Oracle Java (JDK) 6/7/8 in your Ubuntu/Linux Mint systems. For this, you will have to get the installer, available at the Launchpad PPA maintained by one of the popular Linux blogs- Webupd8.org, which will download and install the Oracle Java JDK6/7/8 from the sources.

Installation

Add the repository.

sudo add-apt-repository ppa:webupd8team/java
Update the local repository.

sudo apt-get update
Install the package.

sudo apt-get install oracle-javaN-installer
Replace N with appropriate number to install the corresponding version (6 for JDK6). Accept the license agreement and it will start fetching the relevant files from the source to begin the installation process.

To set the default Java:

sudo apt-get install oracle-javaN-set-default
Again, replace N with appropriate number.

That's it !

1 comment: