I coded a small SIMPLE Non-Modular application of FXML with AnchorPane & a button ( executes perfectly well in IDE and displays the Anchorpane )
I create a 'jar' of this application and tryed to execute the same ( out of IDE ) in cmd mode.
I also set JAVA_HOME, JAVAFX_HOME , JAVAFX_LIB, PATH
On execution java --module-path %JAVAFX_LIB% --add-modules,javafx.controls,javafx.media,javafx.fxml -jar anchorpanejfx.jar
I get this generic exception
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
Is Module args not correct OR javafx.controls not in package ??
Tryed all solution as avaliable on www, but no solution
Hi
Spec : jdk17 , jfx18 ,win-10
I coded a small SIMPLE Non-Modular application of FXML with AnchorPane & a button ( executes perfectly well in IDE and displays the Anchorpane ) I create a 'jar' of this application and tryed to execute the same ( out of IDE ) in cmd mode. I also set JAVA_HOME, JAVAFX_HOME , JAVAFX_LIB, PATH
On execution
java --module-path %JAVAFX_LIB% --add-modules,javafx.controls,javafx.media,javafx.fxml -jar anchorpanejfx.jar
I get this generic exception Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found
Tryed all solution as avaliable on www, but no solution