Smart Client com.servoy.j2db.LAFManager Error

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Smart Client com.servoy.j2db.LAFManager Error

Postby ngervasi » Fri Feb 09, 2024 5:00 pm

Hi,
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?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 22 guests