cookbook 'java_se', '= 8.51.1'
java_se
(64) Versions
8.51.1
-
-
12.0.1000
-
11.0.2002
-
11.0.2
-
11.0.1
-
10.0.2
-
10.0.1
-
9.0.4
-
9.0.1
-
8.202.0
-
8.201.0
-
8.192.0
-
8.181.0
-
8.172.0
-
8.171.0
-
8.162.0
-
8.152.1
-
8.152.0
-
8.151.0
-
8.144.0
-
8.141.0
-
8.131.0
-
8.121.0
-
8.112.1
-
8.112.0
-
8.111.0
-
8.102.1
-
8.102.0
-
8.101.0
-
8.92.0
-
8.91.0
-
8.77.0
-
8.74.0
-
8.73.0
-
8.72.0
-
8.71.0
-
8.66.2
-
8.66.1
-
8.66.0
-
8.65.0
-
8.60.10
-
8.60.9
-
8.60.8
-
8.60.7
-
8.60.6
-
8.60.5
-
8.60.4
-
8.60.3
-
8.60.2
-
8.60.1
-
8.60.0
-
8.51.5
-
8.51.4
-
8.51.3
-
8.51.2
-
8.51.1
-
8.51.0
-
7.79.7
-
7.79.6
-
7.79.5
-
7.79.4
-
7.79.3
-
7.79.2
-
7.79.1
-
7.79.0
Follow29
- 12.0.1000
- 11.0.2002
- 11.0.2
- 11.0.1
- 10.0.2
- 10.0.1
- 9.0.4
- 9.0.1
- 8.202.0
- 8.201.0
- 8.192.0
- 8.181.0
- 8.172.0
- 8.171.0
- 8.162.0
- 8.152.1
- 8.152.0
- 8.151.0
- 8.144.0
- 8.141.0
- 8.131.0
- 8.121.0
- 8.112.1
- 8.112.0
- 8.111.0
- 8.102.1
- 8.102.0
- 8.101.0
- 8.92.0
- 8.91.0
- 8.77.0
- 8.74.0
- 8.73.0
- 8.72.0
- 8.71.0
- 8.66.2
- 8.66.1
- 8.66.0
- 8.65.0
- 8.60.10
- 8.60.9
- 8.60.8
- 8.60.7
- 8.60.6
- 8.60.5
- 8.60.4
- 8.60.3
- 8.60.2
- 8.60.1
- 8.60.0
- 8.51.5
- 8.51.4
- 8.51.3
- 8.51.2
- 8.51.1
- 8.51.0
- 7.79.7
- 7.79.6
- 7.79.5
- 7.79.4
- 7.79.3
- 7.79.2
- 7.79.1
- 7.79.0
Installs Oracle's Java SE JDK
cookbook 'java_se', '= 8.51.1', :supermarket
knife supermarket install java_se
knife supermarket download java_se
Java SE Cookbook
Installs Oracle's Java SE JDK.
The next scheduled critical patch update:
- 20 October 2015
How is this different from Java cookbook?
- Only supports Oracle's Java SE JDK
- Allows for downloads directly from Oracle on all supported platforms
- Can specify one URL directory to download from
- Easily lock version to Java release '~> 8.0' or critical patch update '~> 8.51.0'
Linux support coming soon.
Requirements
- Chef 11 or higher
Platforms
- Mac OS X
- Windows
Usage
By adding java_se to a run_list or as a dependency you are accepting the
Oracle Binary Code License Agreement for Java SE.
Windows platform requires a reboot for JAVA_HOME and PATH to be set.
Attributes
-
node['java_se']['url']
- The URL to fetch the Java SE JDKs. This can be a URL to a directory or file. If a directory is provided, then it will download the JDK that best matches platform criteria. Note that the JDK file names must be the same as that found on Oracle's download page. Leavenil
to fetch directly from Oracle. Default isnil
. -
node['java_se']['file']
- File path to local Java SE JDK. Use this if you downloaded Java SE JDK outside of this cookbook. This will skip fetching Java SE JDK remotely. Default isnil
. -
node['java_se']['force_i586']
- Install i586 Java on x64 machine iftrue
. For Linux and Windows only. Default isfalse
. -
node['java_se']['java_home']
- Alternative java_home location. Leavenil
to use default location. For Linux and Windows only. Default isnil
.
Examples
Example role to download JDK from alternative location:
name "java_se" description "Install Java SE" default_attributes( "java_se": { "url": "https://s3.amazonaws.com/mybucket/java/" } ) run_list( "recipe[java_se]" )
This will download the JDK that best matches platform criteria e.g., Windows 64-bit with force_i586 flag set to true
will match https://s3.amazonaws.com/mybucket/java/jdk-8u51-windows-i586.exe.
Note that the JDK file names must be the same as that found on Oracle's download page.
Versioning
This cookbook does NOT use SemVer for versioning.
The versioning scheme is RELEASE.UPDATE.MINOR where:
- RELEASE is the release of Java e.g. 8
- UPDATE is the Java critical patch update e.g. 51
- MINOR is the *cookbook release for an enhancement or bugfix e.g. 0
*All cookbook releases will strive to be backwards-compatible.
Getting Help
- Ask specific questions on Stack Overflow.
- Report bugs and discuss potential features in Github issues.
Contributing
Please refer to CONTRIBUTING.
License
MIT - see the accompanying LICENSE file
for details.
Changelog
8.51.1
- Support Mac OS X install
8.51.0
- Initial release
Foodcritic Metric
8.51.1 passed this metric
8.51.1 passed this metric