You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
#java
1
+
#java
2
2
3
-
####Table of Contents
3
+
####Table of Contents
4
4
5
5
1.[Overview](#overview)
6
6
2.[Module Description - What the module does and why it is useful](#module-description)
@@ -13,20 +13,20 @@
13
13
5.[Limitations - OS compatibility, etc.](#limitations)
14
14
6.[Development - Guide for contributing to the module](#development)
15
15
16
-
##Overview
16
+
##Overview
17
17
18
18
This is the java module. It allows to install Java OpenJDK or Oracle JDK and configure the default java alternative.
19
19
20
-
##Module Description
20
+
##Module Description
21
21
22
22
The module provides classes and defines to install Java OpenJDK from distribution packages
23
23
or rather install Oracle JDK. Furthermore, it allows to configure the java alternative on Debian and RedHat family distributions.
24
24
It allows to install multiple Java versions on the same node.
25
25
It allows to install java 8 even if it is not in the standard repository in Ubuntu 12.04 and 14.04 via ppa.
26
26
27
-
##Setup
27
+
##Setup
28
28
29
-
###What java affects
29
+
###What java affects
30
30
31
31
The module installs the OpenJDK package from the repositories or the Oracle JDK from the download archive.
32
32
@@ -44,7 +44,7 @@ cryptography to be used. This override provides "unlimited strength"
44
44
policy files which contain no restrictions on cryptographic strengths.
45
45
Notice that at the moment this class supports only openjdk-6 on Debian/Ubuntu systems.
46
46
47
-
###Setup Requirements
47
+
###Setup Requirements
48
48
49
49
The module requires the following modules:
50
50
@@ -56,7 +56,7 @@ The module requires the following modules:
56
56
57
57
to provide the basic capability to download and unzip Oracle Java distributions
58
58
59
-
###Beginning with java
59
+
###Beginning with java
60
60
61
61
The module provides different classes to install Java OpenJDK 6, 7, 8 and 9; furthermore, it is possible to install Oracle JDK 7 and 8.
62
62
This is done, for example, by declarations as the following:
@@ -65,7 +65,7 @@ This is done, for example, by declarations as the following:
65
65
include java_7
66
66
```
67
67
68
-
##Usage
68
+
##Usage
69
69
70
70
It is possible to install multiple versions of Java on a single node and to specify via hiera the default java to be set in the alternative system. An example hiera (JSON) declaration for a node could be as follows:
71
71
@@ -79,11 +79,11 @@ It is possible to install multiple versions of Java on a single node and to spec
79
79
}
80
80
```
81
81
82
-
##Limitations
82
+
##Limitations
83
83
84
84
At the moment the module targets only OpenJDK 6, 7 and 8 on Debian, Ubuntu, RedHat and CentOS platforms. Specifically, it was tested on Ubuntu 12.04, 14.04, 16.04 and CentOS 6.6 distributions; although probably it will work also on different versions.
85
85
86
-
##Development
86
+
##Development
87
87
88
88
If you need some feature please send me a (pull) request and send me an email at: dsestero 'at' gmail 'dot' com.
0 commit comments