I thought I could find an answer for this question because as i think it is popular problem.But unfortunately I did not find the answer
I have an application written with Java and JavaFX and i built it using eclipse and it worked perfectly there
but when I export the project as a .jar(executable jar file) file so it runs when it is double clicked it doesn't work
I tried a lot of things and I could approve that their is no exceptions or errors in the jar file by running it from the cmd and it worked perfectly but i still need it to be run by clicking a shortcut like an .exe file or any kind of such a thing and it should run when it is sent to another computer
this image proves it is working in the cmd