Oracle Java 7 under Ubuntu GNU/Linux

This repository provides a Debian package with the script and the same support files as in the support tarball. Setting things up is a bit more work, but the script will be properly integrated in your system. Additional advantages: a possibly installed out-of-date sun-java6 installation will be removed completely and if you keep the software source in your list, you will automatically receive updates of the script.


The procedure:

  • put the line
    deb debs all
    in the file /etc/apt/sources.list, either using Software Sources from your System Menu or by editing the file in an editor (as root)
    put this line in a file named (e.g.) duinsoft.list in the directory /etc/apt/sources.list.d
  • import the gpg key with the command (all on one line)
    sudo apt-key adv --keyserver --recv-keys 5CB26B26
  • enter the commands (two lines)
    sudo apt-get update
    sudo apt-get install update-sun-jre
    or use Synaptic to install the package
  • installation of the Runtime Environment will follow automatically