I have a jar file which mentions the main class in the manifest. When I try to execute the jar using the following command
java -cp .;./* com.foo.MainClass <
Here is a good discussion on this issue.