Child pages
  • Oracle JDK

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Manual installation of Oracle Java (which is preferred to Open Java, which often doesn't work right) is a bit tedious: one needs to find and download the latest release and manually set up all the path variables. The PPA from webupd8 developer team simplifies our task and provides us with an installer which does all this for us and enables auto-updates.

Installation

First, add the PPA:Run the following commands in order to install or update the Oracle Java. The idea is applicable to others JVM.

Code Block
languagebash
themeEmacs
add-apt-repository ppa:webupd8team/java

Then update the software information:

Code Block
languagebash
themeEmacs

apt-get update

Then install Java (replace 8 with another Java version you might want instead, like 6 or 7):

Code Block
languagebash
themeEmacs

apt-get install oracle-java8-installer

...