Oxygen XML, JDL Security Manager
Posted: Sun May 11, 2025 10:31 am
Hello,
Beginning with JDK 17, Java SecurityManager is deprecated (https://bugs.openjdk.org/browse/JDK-8264713).
This displays the warning messages described in other threads.
Running SecurityManager-related code no longer works out of the box with Java 18+.
When using these latest Java versions, OygenXML's "independent distribution" (without bundled JRE) breaks on startup.
UnsupportedOperationException is thrown.
As a workaround, the additional JVM parameter -Djava.security.manager=allow should be specified.
It may be included in the start scripts (for example, oxygenDeveloper.sh).
I'm not sure if that will fix the problem in the future, but it still works with Oxygen 27 and OpenJDK 21.
Regards
Beginning with JDK 17, Java SecurityManager is deprecated (https://bugs.openjdk.org/browse/JDK-8264713).
This displays the warning messages described in other threads.
Running SecurityManager-related code no longer works out of the box with Java 18+.
When using these latest Java versions, OygenXML's "independent distribution" (without bundled JRE) breaks on startup.
UnsupportedOperationException is thrown.
As a workaround, the additional JVM parameter -Djava.security.manager=allow should be specified.
It may be included in the start scripts (for example, oxygenDeveloper.sh).
I'm not sure if that will fix the problem in the future, but it still works with Oxygen 27 and OpenJDK 21.
Regards