Check that your manifest.txt file contains the content in this manner :
Main-Class: <"package-name">.<"Main-class-name">.class <"newline">
Note that newline/carriage-return is necessary for parsing.
Refer to this link
http://docs.oracle.com/javase/tutorial/deployment/jar/appman.html