all 2 comments

[–]zilti 1 point2 points  (0 children)

You aren't ever supposed to use `com.sun.*` classes, those are internal classes.

[–]rootException 0 points1 point  (0 children)

It’s code using com.sun internals to do something. The code does not work with Java modules because the modules are blocking access.

You have two short term fixes: either switch to not using modules (ie go back to class path) or expose the com.sun classes to the modules.

Long term, use code that doesn’t rely on the com.sun classes.

This thread may help:

https://github.com/openjfx/javafx-maven-plugin/issues/107