If the error message "cannot find main class" appears, it means that the Main-Class: line of the manifest file, names a class that is not present, or the name is not correct try to provide exact path. remember, that if your main class is MyApp.class, then only the MyApp word should appear on the manifest. remember too, to leave a blank line at the end of the manifest file