Created
May 9, 2025 08:59
-
-
Save topolik/42b5c1830d890d81ff7251d680e322e0 to your computer and use it in GitHub Desktop.
Freemind java run on latest Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Two exceptions: | |
1) Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make field private static java.lang.String sun.awt.X11.XToolkit.awtAppClassName accessible: module java.desktop does not "opens sun.awt.X11" to unnamed module @77556fd | |
2) Caused by: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release | |
Caused by introducing Java 9 modules and removing Security Manager from Java 17. | |
Workaround: run java with: | |
-Djava.security.manager=allow --add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment