I made a small application using Java Swings and then created a jar file of the project using 'clean and build' option in Netbeans. Then, I converted that .jar file in a .exe file using the software 'Launch4j' and it was perfectly running on my laptop. However when I tried running that exe file on other laptop. It displayed the error: Class NewJframe.firstfile couldnot be found. ( I made the database on the other laptop also with MySql Connection).
Please help me clarify why I am getting this error. Also, I would like to know what all are the requirements to run an .exe file on other computer which I made from a .jar file?