Tomacat 10 service in Windows 2022 with Oracle Java 17.
After --add-exports java.base/sun.security.provider=ALL-UNNAMED
in Java 9 panel in Tomcat10->config->Java
, Tomcat can not start.
Before add export option, tomcat service is started, after not started.
Tomcat log says: The system cannot find the file specified. Failed to start Java.
changed to --add-opens
, works.
How to make add-exports java.base/sun.security.provider=ALL-UNNAMED
work in Tomcat 10?