I built an app with javaFX using Eclipse, and I have used following libraries:
- javaFx Sdk
- barCode4j
- mysql connector j
So how can I create a runnable jar file that runs with a double click? I don't want to run it every time I add a module because the app is for a simple user.
I had created a demo app and the command maven -> runs perfectly fine. But in my project
mvn clean install javafx:run;
when I am exporting it the and trying following
java -jar myApp.jar
throws an exception
"require java fx environment component "
so how can I slove it ?