java

Installs the correct Java package on various platforms.

23,510,807 downloads

8,710 latest version

4.3 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.1.0 (latest)
  • 11.0.1
  • 11.0.0
  • 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 Jun 13th 2016
This version is compatible with:
  • Puppet Enterprise >= 3.0.0 < 2015.4.0
  • Puppet >= 3.0.0 < 5.0.0
  • , , , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'puppetlabs-java', '1.6.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 1.6.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 1.6.0 Jun 13th 2016

Supported Release 1.6.0

Summary

Addition of a new supported OS, along with several other features and bugfixes.

Features

  • Ubuntu 16.04 support.
  • Addition example for installing Java 8.
  • Update to newest modulesync_configs.
  • Addition of RedHat for Oracle Java.

Bugfixes

  • Custom archive type now given extract_path.
  • Fix for rspec deprectation warnings.
  • Typo fixes for readme.
  • Fixed tests to run under strict variables.
  • Updated Java package for SLES 11.4.

Supported Release 1.5.0

Summary

A release which has several support additions for different OSes. Also a couple of additional features and a few bug fixes.

Features

  • Added Ubuntu 15.10 compatibility.
  • Addition of two facts: java_libjvm_path and java_default_home.
  • Added support for oracle-j2re1.8 and oracle-j2sdk1.8.
  • Adds FreeBSD Support.
  • Exposed the Puppet package resources install_options parameter via a new class parameter named package_options.
  • Debian 8 support.
  • Add support for official Oracle Java SE jdk and jre packages for CentOS.
  • Use java 8 as the default on RHEL > 7.0.

Bugfixes

  • Updated fixtures.yml to use git instead of http for stdlib.
  • Updates to current msync configs.
  • Small README updates and syntax error fixes.

Supported Release 1.4.3

###Summary

Small release for support of newer PE versions. This increments the version of PE in the metadata.json file.

2015-10-07 - Supported Release 1.4.2

Summary

This release fixes the fact to not trigger java every time on OS X when it is not available.

Bugfixes

  • Causes java_version fact to not run java when java is not installed on OS X

2015-07-16 - Supported Release 1.4.1

Summary

This release updates the metadata for the upcoming release of PE and update params for OEL to match metadata

Bugfixes:

  • Add missing OEL to params

##2015-07-07 - Supported Release 1.4.0 ###Summary This release adds several new features, bugfixes, documentation updates, and test improvements.

####Features:

  • Puppet 4 support and testing
  • Adds support for several Operating Systems
    • Ubuntu 15.04
    • OpenBSD 5.6, 5.7
    • Fedora 20, 21, 22

####Bugfixes:

  • Fixes java_version fact to work on large systems. (MODULES-1749)
  • Improves maintainability of java_version fact.
  • Fixes java package names on Fedora 21+.
  • Fixes java install problems on Puppet 3.7.5 - 3.8.1 (PUP-4520)
  • Fixes create-java-alternatives commands on RedHat distros.
  • Fixes bug with Debian systems missing java-common package.

##2015-01-20 - Supported Release 1.3.0 ###Summary This release adds 3 new facts for determining Java version, adds RHEL alternatives support, adds utopic support, and fixes the flag for update-java-alternatives when installed from a headless pacakge.

####Features

  • Added RHEL support for alternatives
  • New facts
    • java_major_version
    • java_patch_level
    • java_version
  • Add support for utopic

####Bugfixes

  • Use --jre-headless in the update-java-alternatives command when installed from a headless package

##2014-11-11 - Supported Version 1.2.0

###Summary: This release adds SLES 12 support and is tested for Future Parser Support

####Bugfixes:

  • Several readme updates
  • Testcase flexability increased

####Features:

  • Add SLES 12 support
  • Future Parser tested
  • Validated against PE 3.7

##2014-08-25 - Supported Version 1.1.2

###Summary: This release begins the support coverage of the puppetlabs-java module.

###Bugfixes:

  • Update java alternative values from deprecated names
  • Readme updated
  • Testing updated

##2014-05-02 - Version 1.1.1

###Summary:

Add support for new versions of Debian and Ubuntu!

####Features:

  • Add support for Ubuntu Trusty (14.04)
  • Add support for Debian Jessie (8.x)

##2014-01-06 - Version 1.1.0

####Summary:

Primarily a release for Ubuntu users!

####Features:

  • Add support for Ubuntu Saucy (13.10)
  • Add java_home parameter for centralized setting of JAVA_HOME.
  • Add Scientific Linux

###Bugfixes:

  • Plus signs are valid in debian/ubuntu package names.

##2013-08-01 - Version 1.0.1

Matthaus Owens matthaus@puppetlabs.com

  • Update java packages for Fedora systems

##2013-07-29 - Version 1.0.0

####Detailed Changes

Krzysztof Suszyński krzysztof.suszynski@coi.gov.pl

  • Adding support for Oracle Enterprise Linux

Peter Drake pdrake@allplayers.com

  • Add support for natty

Robert Munteanu rmuntean@adobe.com

  • Add support for OpenSUSE

Martin Jackson martin@uncommonsense-uk.com

  • Added support Amazon Linux using facter >= 1.7.x

Gareth Rushgrove gareth@morethanseven.net Brett Porter brett@apache.org

  • Fixes for older versions of CentOS
  • Improvements to module build and tests

Nathan R Valentine nrvale0@gmail.com

  • Add support for Ubuntu quantal and raring

Sharif Nassar sharif@mediatemple.net

  • Add support for Debian alternatives, and more than one JDK/JRE per platform.

##2013-04-04 - Version 0.3.0 Reid Vandewiele reid@puppetlabs.com -

  • Refactor, introduce params pattern

##2012-11-15 - Version 0.2.0 Scott Schneider sschneider@puppetlabs.com

  • Add Solaris support

##2011-06-16 - Version 0.1.5 Jeff McCune jeff@puppetlabs.com

  • Add Debian based distro (Lucid) support

##2011-06-02 - Version 0.1.4 Jeff McCune jeff@puppetlabs.com

  • Fix class composition ordering problems

##2011-05-28 - Version 0.1.3 Jeff McCune jeff@puppetlabs.com

  • Remove stages

##2011-05-26 - Version 0.1.2 Jeff McCune jeff@puppetlabs.com

  • Changes JRE/JDK selection class parameter to $distribution

##2011-05-25 - Version 0.1.1 Jeff McCune jeff@puppetlabs.com

  • Re-did versioning to follow semantic versioning
  • Add validation of class parameters

##2011-05-24 - Version 0.1.0 Jeff McCune jeff@puppetlabs.com

  • Default to JDK version 6u25

##2011-05-24 - Version 0.0.1 Jeff McCune jeff@puppetlabs.com

  • Initial release