We are working on Javafx project which was working fine on Java8. Recently, We have updated the project with Java17. We are able to resolve the issues for the IDEA.
Seems like after Java 9+ they have strictly encapsulated all classes. To use this we have to use "export" "open" keywords in vm options or define "ALL-UNNAMED" in the compile runtime.
This is running perfectly on IDEA. Now, We are trying to load fxml files in scene builder but scenebuilder unable to find out these classes. We have added all required jar files to scenebuilder but still unable to load the FXML files.
Following errors scenebuilder showing:
java.lang.ClassNotFoundException: com.sun.javafx.scene.TreeShowingExpression
Libraries we are using:
jfoenix.jar. fx_progress_circle.jar. fontawesomefx.jar
We are getting issues on the JFX views on JFXCheckbox, JFXRadioButton, JFXSpinner etc.
We have tried every possible solution, but couldn't solve it.
Any help would be appreciated. thanks.