Forge Home

java

Installs the correct Java package on various platforms.

23,382,898 downloads

107 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 11.0.0 (latest)
  • 10.1.2
  • 10.1.1
  • 10.1.0
  • 10.0.0
  • 9.0.1
  • 9.0.0
  • 8.2.0
  • 8.1.0
  • 8.0.0
  • 7.3.0
  • 7.2.0
  • 7.1.1
  • 7.1.0
  • 7.0.2
  • 7.0.1
  • 7.0.0
  • 6.5.0
  • 6.4.0
  • 6.3.0
  • 6.2.0
  • 6.1.0
  • 6.0.0
  • 5.0.1
  • 5.0.0
  • 4.1.0
  • 4.0.0
  • 3.3.0
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.0
  • 2.3.0
  • 2.2.0
  • 2.1.1
  • 2.1.0
  • 2.0.0
  • 1.6.0
  • 1.5.0
  • 1.4.3
  • 1.4.2
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0
  • 0.3.0
  • 0.2.0
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
released Apr 15th 2024
This version is compatible with:
  • Puppet Enterprise 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • , , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppetlabs-java', '11.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-java
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-java --version 11.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppetlabs/java — version 11.0.0 Apr 15th 2024

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v11.0.0 - 2024-04-15

Full Changelog

Changed

Added

  • Support Debian 12 and refactor to make that easier #585 (ekohl)

v10.1.2 - 2023-07-27

Full Changelog

Fixed

v10.1.1 - 2023-07-03

Full Changelog

v10.1.0 - 2023-06-20

Full Changelog

Added

v10.0.0 - 2023-04-17

Full Changelog

Changed

  • (CONT-784) Add Support for Puppet 8 / Drop Support for Puppet 6 #548 (david22swan)

Added

Fixed

v9.0.1 - 2022-11-29

Full Changelog

Fixed

v9.0.0 - 2022-11-23

Full Changelog

Changed

  • (CONT-263) Update minimum required puppet version #535 (LukasAud)

Fixed

  • Update package naming to differentiate between minor versions #534 (sd-z)
  • (CONT-173) - Updating deprecated facter instances #531 (jordanbreen28)
  • pdksync - (CONT-189) Remove support for RedHat6 / OracleLinux6 / Scientific6 #530 (david22swan)
  • pdksync - (CONT-130) - Dropping Support for Debian 9 #527 (jordanbreen28)
  • Hardening manifests #525 (LukasAud)

v8.2.0 - 2022-08-09

Full Changelog

Added

v8.1.0 - 2022-05-30

Full Changelog

Added

  • feat: added support for aarch64 architecture download #516 (0Rick0)

v8.0.0 - 2022-04-05

Full Changelog

Changed

Added

Fixed

v7.3.0 - 2021-10-11

Full Changelog

Added

Fixed

v7.2.0 - 2021-09-20

Full Changelog

Added

Fixed

v7.1.1 - 2021-08-26

Full Changelog

Fixed

v7.1.0 - 2021-08-12

Full Changelog

Added

v7.0.2 - 2021-04-26

Full Changelog

Fixed

v7.0.1 - 2021-04-19

Full Changelog

Fixed

v7.0.0 - 2021-03-01

Full Changelog

Changed

  • pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 #463 (carabasdaniel)

Fixed

  • (MODULES-10935) - Switch legacy operatingsystem fact to modern kernel one #461 (rjd1)

v6.5.0 - 2020-12-16

Full Changelog

Added

v6.4.0 - 2020-11-09

Full Changelog

Added

  • Add support for SAP Java (sapjvm / sapmachine) #433 (timdeluxe)

Fixed

  • [IAC-1208] - Add the good links for solving the 404 error and exclude sles #443 (daianamezdrea)
  • (IAC-993) - Removal of inappropriate terminology #439 (david22swan)

v6.3.0 - 2020-05-28

Full Changelog

Added

  • (MODULES-10681) Add option to manage symlink to java::adopt #429 (fraenki)
  • (IAC-746) - Add ubuntu 20.04 support #428 (david22swan)

v6.2.0 - 2020-02-19

Full Changelog

Added

Fixed

v6.1.0 - 2020-02-03

Full Changelog

v6.0.0 - 2019-11-11

Full Changelog

Added

Fixed

  • we need to check if java_default_home has a value before we attempt t… #391 (robmbrooks)
  • Add support for java 11, the default in debian buster 10 #386 (jhooyberghs)

v5.0.1 - 2019-08-05

Full Changelog

v5.0.0 - 2019-08-05

Full Changelog

Changed

Added

Fixed

  • (FM-8343) use release numbers not lsbdistcodename #375 (tphoney)
  • Revert "Add support for debian buster" #374 (tphoney)

v4.1.0 - 2019-05-29

Full Changelog

Added

v4.0.0 - 2019-05-20

Full Changelog

Changed

Added

  • (FM-7921) - Implement Puppet Strings #353 (david22swan)
  • Update default version & java 8 version from 8u192 to 8u201 #347 (valentinsavenko)
  • Add ability to override basedir and package type for oracle java #345 (fraenki)
  • MODULES-8613: Add option to set a custom JCE download URL #344 (HielkeJ)

Fixed

  • MODULES-8698: Fix $install_path on CentOS with tar.gz package type #349 (fraenki)

3.3.0 - 2019-01-18

Full Changelog

Added

  • (MODULES-8234) - Add SLES 15 support #336 (eimlav)
  • (MODULES-8234) - Upgrade Oracle Java version to 8u192 #334 (eimlav)
  • Support for installing JCE. Fixes MODULES-1681 #326 (dploeger)
  • MODULES-8044: upgrade Oracle Java 8 to 181, make it the default release #314 (ojongerius)

Fixed

  • pdksync - (FM-7655) Fix rubygems-update for ruby < 2.3 #338 (tphoney)
  • (FM-7520) - Removing Solaris from the support matrix #335 (pmcmaw)
  • Optimized code for making java::oracle atomic. Fixes MODULES-8085 #330 (dploeger)
  • Fix OpenJDK paths on Debian based OS with ARM #329 (mmoll)
  • (MODULES-7050) - Fix OracleJDK reinstalling on Puppet runs #323 (eimlav)
  • (MODULES-8025) Switch default for Ubuntu 18.04 to 11 #322 (baurmatt)
  • MODULES-7819 fix set JAVA_HOME environments on FreeBSD platform #315 (olevole)

3.2.0 - 2018-09-27

Full Changelog

Added

  • pdksync - (MODULES-6805) metadata.json shows support for puppet 6 #317 (tphoney)

3.1.0 - 2018-09-10

Full Changelog

Added

  • pdksync - (MODULES-7705) - Bumping stdlib dependency from < 5.0.0 to < 6.0.0 #310 (pmcmaw)

3.0.0 - 2018-08-14

Full Changelog

Changed

Added

  • (MODULES-7561) - Addition of support for Ubuntu 18.04 to java #299 (david22swan)

Fixed

2.4.0 - 2018-01-23

Full Changelog

Fixed

2.3.0 - 2017-12-01

Full Changelog

Added

  • Add support for Ubuntu artful (17.10) and bionic (18.04 to be) #270 (mhjacks)

2.2.0 - 2017-11-20

Full Changelog

Added

Fixed

2.1.1 - 2017-11-09

Full Changelog

Added

Fixed

  • (FACT-1754) search for matching line with java version #257 (shuebnersr)

2.1.0 - 2017-06-22

Full Changelog

Added

Fixed

  • replace validate_* calls with datatypes & minor fixes #223 (bastelfreak)
  • Bugfix/modules 4368 java default home invalid fact #215 (vStone)

2.0.0 - 2017-05-30

Full Changelog

Added

Fixed

  • (MODULES-4751) Fix Archive Order of Operations #225 (bstopp)
  • Fix naming of version_major and version_minor parameters #196 (gzurowski)

1.6.0 - 2016-06-13

Full Changelog

Fixed

1.5.0 - 2016-04-12

Full Changelog

Added

  • Add Ubuntu 16.04 #164 (s12v)
  • Add an example for installing java 8 #162 (npwalker)
  • Add support for official Oracle Java SE jdk and jre packages for CentOS #159 (mmarseglia)
  • (MODULES-2928) Adds FreeBSD Support #153 (petems)
  • Added support for oracle-j2re1.8 and oracle-j2sdk1.8 #152 (thomasodus)

Fixed

1.4.3 - 2015-12-07

Full Changelog

Added

  • Add support for Ubuntu 15.10 #147 (oc243)
  • add two facts: libjvm and java executable paths #117 (faxm0dem)

1.4.2 - 2015-10-07

Full Changelog

Fixed

  • Fix rspec deprecation warnings. .should -> expect().to #141 (vStone)

1.4.1 - 2015-07-15

Full Changelog

Added

1.4.0 - 2015-07-08

Full Changelog

Added

  • (MODULES-2068) add fedora to metadata.json operatingsystem_support list #129 (bmjen)
  • Add helper to install puppet/pe/puppet-agent #123 (hunner)
  • (BKR-147) add Gemfile setting for BEAKER_VERSION for puppet... #115 (anodelman)

Fixed

1.3.0 - 2015-01-20

Full Changelog

Added

Fixed

1.2.0 - 2014-11-10

Full Changelog

Fixed

1.1.2 - 2014-09-03

Full Changelog

Added

  • Add metadata.json and remove Modulefile #65 (hunner)

1.1.1 - 2014-05-02

Full Changelog

Added

  • Added jessie as a supported realese #56 (3h4x)
  • add support for ubuntu 14.04 trusty #55 (atta)

1.1.0 - 2014-01-06

Full Changelog

Added

Fixed

1.0.1 - 2013-08-01

Full Changelog

Added

Fixed

0.3.0 - 2013-05-08

Full Changelog

Added

  • Add special case for fedora operating systems, where java is installable... #23 (haus)
  • Adding java::package_suse class #22 (sschneid)

0.2.0 - 2012-11-15

Full Changelog

Added

v0.1.5 - 2011-06-16

Full Changelog

0.1.4 - 2011-06-02

Full Changelog

0.1.3 - 2011-05-28

Full Changelog

0.1.2 - 2011-05-26

Full Changelog

0.1.1 - 2011-05-25

Full Changelog

Added

0.0.1 - 2011-05-24

Full Changelog