Servoy 2022.12.1 and Java 17.0.10+7.
I'm deploying smart client using the bootstrap jar and a bundled java, when I start the client I always get this error:
- Code: Select all
java.lang.IllegalAccessException: class com.servoy.j2db.LAFManager cannot access class com.sun.java.swing.plaf.windows.WindowsLookAndFeel (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.windows to unnamed module @6093dd95
Passing these arguments (as per the official docs) doesn't help:
- Code: Select all
jdk-17.0.10+7-jre\bin\java.exe -jar bootstrap.jar --add-exports=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED
Any idea of how to get rid of the error?