Sidebar

What java and startup options are needed for Java 11 and 17

0 votes
1.0K views
asked Sep 1, 2023 by brandon-w-8204 (33,270 points)

1 Answer

+1 vote

For the Java 11 and 17 you will need to add the following to the startup tab in Qie Service Manager.

# These are needed for QIE to run
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED

answered Sep 1, 2023 by brandon-w-8204 (33,270 points)
commented Oct 5, 2023 by rich-c-2789 (16,630 points)
Add to Startup tab arguments in Qie Service Manager
# These are needed for QIE to run
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
 
# This is needed to parse a raw x509Certificate (used in creating a SAML signature)
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
 
# These are needed to generate a SAML signature
--add-opens=java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED
--add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED
 
# This is needed to validate a SAML signature
--add-opens=java.xml.crypto/org.jcp.xml.dsig.internal.dom=ALL-UNNAMED
 
# This option is needed to output the base64 encoded certificate as a single line when generating the SAML signature
-Dorg.apache.xml.security.ignoreLineBreaks=true
...