Skip to content

Commit 0c6294a

Browse files
committed
Adds documentation for default_java_symlink
1 parent 40057ae commit 0c6294a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ the .tar.gz.
8181
you accept IBM's EULA (for `java::ibm`)
8282
* `node['java']['accept_license_agreement']` - Indicates that you accept
8383
the EULA for openjdk package installation.
84-
* `node['java']['set_default']` - Indicates whether or not you want the
84+
* `node['java']['set_default']` - Indicates whether or not you want the
8585
JDK installed to be default on the system. Defaults to true.
8686

8787
Recipes
@@ -107,6 +107,10 @@ Sets default attributes based on the JDK version. This logic must be in
107107
a recipe instead of attributes/default.rb. See [#95](https://github.com/socrata-cookbooks/java/pull/95)
108108
for details.
109109

110+
## default_java_symlink
111+
112+
Updates /usr/lib/jvm/default-java to point to JAVA_HOME.
113+
110114
## purge_packages
111115

112116
Purges deprecated Sun Java packages.

metadata.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
version "1.20.1"
88

99
recipe "java::default", "Installs Java runtime"
10+
recipe "java::default_java_symlink", "Updates /usr/lib/jvm/default-java"
1011
recipe "java::ibm", "Installs the JDK for IBM"
1112
recipe "java::ibm_tar", "Installs the JDK for IBM from a tarball"
1213
recipe "java::openjdk", "Installs the OpenJDK flavor of Java"

0 commit comments

Comments
 (0)