I have built a Java SWT application using Eclipse on a Windows 10 (64 bit) laptop. I am trying to convert it into a .exe file so anyone can run the application regardless of having java installed.
I have used Launch4J to convert my runnable .jar file to a .exe file and I am successfully able to run it on my laptop.
However, when I try to run it on any other laptop, the .exe file does not open/does nothing on a double click.
When I tried to run the original .jar file on a different laptop from command line this is the error I am getting:
_
Other posts on here say to include JRE and libraries in the build path which I did but it did not fix the problem.
Does anyone know how to fix this and allow my application to run?