Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:install_oraclejava [2013/12/05 21:59]
bkraul created
linux:install_oraclejava [2017/12/13 17:34] (current)
Line 1: Line 1:
 ====== Installing Oracle Java in Ubuntu 12+ ====== ====== Installing Oracle Java in Ubuntu 12+ ======
  
 +This describes the steps to install the Oracle Java (JDK) 8, Oracle Java (JDK + JRE) 7 or Oracle Java (JDK) 6 on Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04.
 +
 +The Oracla Java has been removed from the official Ubuntu repositories due to some Java licence issues.
 +
 +Before installation,​ OpenJDK needs to be removed, if previously installed:
 +<code console>
 +sudo apt-get purge openjdk*
 +</​code>​
 +
 +In order not to get issues with the add-apt-repository command, install the following package:
 +<code console>​sudo apt-get install software-properties-common</​code>​
 +
 +Add the PPA:
 +<code console>​sudo add-apt-repository ppa:​webupd8team/​java</​code>​
 +
 +Update the repo index:
 +<code console>​sudo apt-get update</​code>​
 +
 +Install Java 8:
 +<code console>​sudo apt-get install oracle-java8-installer</​code>​
 +
 +Or, install Java 7:
 +<code console>​sudo apt-get install oracle-java7-installer</​code>​
 +
 +Or, install Java 6:
 +<code console>​sudo apt-get install oracle-java6-installer</​code>​
  • linux/install_oraclejava.txt
  • Last modified: 2017/12/13 17:34
  • (external edit)