I created an app and created a .jar file with all the needed files. I can double click on it in the destination folder and it will run. I emailed it to a friend and when he tries to run it he gets a java error that says cannot find main class. How do I make an executable or install the .jar file so
it can be executed by clicking on a shortcut or by clicking on the .jar file?