Thank you very much, I will try this way.
发自我的小米手机在 Giovanni Dal Maso ,2022年1月14日 下午6:05写道:
We had similar problems and in the end it was better to switch to maven.
Just create your Netbeans Platform Application using “Java with Maven” > “NetBeans Application” and add JavaFX as a maven d
I have added javafx-graphics jar into the wrapper jars.
In fact, only Netbeans Platform Application will throw this runtime exception.
The JavaFX is correct for Ant Java Application of Netbeans.
And in Eclipse, it is ok when I add vm parameters: --module-path
"lib/javafx\lib" --add-modules
java