Skip to content

Commit 29e8b2a

Browse files
authored
[#836] Docs: add access to the encapsulated java classes for Java 11 and above (#837)
1 parent db3db58 commit 29e8b2a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

openam-documentation/openam-doc-source/src/main/asciidoc/install-guide/chap-prepare-install.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,23 @@ Set the metaspace memory size to 256 MB.
7777
`-XX:MaxMetaspaceSize=256m` (when using JDK 8)::
7878
Set the maximum metaspace memory size to 256 MB.
7979
80+
81+
[IMPORTANT]
82+
====
83+
If you are using Java 11 and above, add additional options to provide OpenAM access to the encapsulated Java modules:
84+
85+
`--add-exports java.base/sun.security.util=ALL-UNNAMED`
86+
87+
`--add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED`
88+
89+
`--add-exports java.base/sun.security.x509=ALL-UNNAMED`
90+
91+
`--add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED`
92+
93+
`--add-exports java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED`
94+
95+
====
96+
8097
--
8198
For additional JVM tuning and security recommendations, see link:../admin-guide/index.html#tuning-jvm-for-openam[Java Virtual Machine Settings] in the __Administration Guide__.
8299

0 commit comments

Comments
 (0)