I'm making a javafx Library Management System project using intellij idea that uses derby as an embedded db, and it works just fine, but when i convert my project into a jar file using the build artefact option in intellij idea then convert that jar into an .exe file using launch4j and try to run it, it will throw a
JavaFX runtime components are missing, and are required to run this application
i tried adding the jvm options through the jvm options section in launch4j but then i would get another error saying that i can't access the sub packages that contain the other classes that i want to use :-
the thing is that i want this program to run when i run the .exe file so is there a way to add these jvm options inside my code, or is there a better way to run javafx-db programs with a different extension ? and how should i include in the jvm options that i'm using sub packages?