Could not find main class. Program will exit.
843785Aug 19 2008 — edited Aug 21 2008I am new to java so I am sure I am doing something wrong here. I recently developed an application and am creating the .jar file for it. When I double click it I receive the following message " Could not find main class. Program will exit.". When I run it with the "java -jar" command I receive the following message "Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes".
I have verified that the Main-Class: in the Manifest.MF is valid.
The application runs OK in Eclipse IDE.
Any suggestions? I know it is something that I should already know, but do not.
Any help would be appreciated.
Thx,
BAJH