The problem is that I have my project in netbeans and I run it and it runs without problems, I click clean and generate project but when I run the .jar it doesn't run.
I run this command in the console: java -jar HuellaTorniquete.jar
And I get this error Error: JavaFX runtime components are missing, and are required to run this application
and I run this command: java --module-path "C:\Users\crist\Documents\jjavafx\javafx-sdk-23.0.1\lib" --add-modules javafx.controls,javafx.fxml,javafx.media -jar HuellaTorniquete.jar
and it opens the .jar,
Why doesn't the .jar open from the file when I double click it? I have the fx libraries in my project and when I run it in netbeans it runs without problems
I created an .exe from the .jar and consequently it does not open.
Can anyone help?