Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic Error #220

Open
nskarthik1968 opened this issue May 15, 2022 · 0 comments
Open

Generic Error #220

nskarthik1968 opened this issue May 15, 2022 · 0 comments

Comments

@nskarthik1968
Copy link

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

Is Module args not correct OR javafx.controls not in package ??

Tryed all solution as avaliable on www, but no solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant