Module to manage the installation of the WebUpd8 Oracle Java Installer PPA

Praekelt Foundation



8,998 latest version

5.0 quality score

Version information

  • 0.1.3 (latest)
  • 0.1.2
released Feb 11th 2016
This version is compatible with:
  • Puppet Enterprise 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=3.4.0
  • Ubuntu

Start using this module


praekeltfoundation/webupd8_oracle_java — version 0.1.3 Feb 11th 2016


Puppet module to manage the installation of the WebUpd8 Oracle Java Installer PPA. This installs the Oracle JDK.

NOTE: By using this module you will automatically accept the Oracle license agreement for Java SE.

Getting started

To install the current version of Java 8 simply add the following to your manifest:

include webupd8_oracle_java

You can also adjust a few basic parameters for the package, for example, to ensure the latest version of Oracle Java 7 is installed:

class { 'webupd8_oracle_java':
  ensure  => 'latest',
  version => '7'


This module does not manage update-alternatives. The WebUpd8 packages do update update-alternatives with newly installed Java versions but it is up to the user to set the priorities of these versions. As such, managing multiple versions of Java is left up to the user.


This module has been tested for installing Java 8 on Ubuntu 14.04. It should work for other versions of Java and other versions of Ubuntu given that a package exists for your setup in the WebUpd8 PPA.