I have a swing application. When I run the app from IDE (Netbeans 6.0) it runs fine. If I try to run by clicking .JAR file, it will show "failed to load Main-Class manifest attribute from file.JAR".
I extracted the .JAR file and I found MANIFEST.MF didn't had Main-Class field. Even i added that field and zipped it and renamed back to file.JAR. The above idea was suggested to someone in a forum. Even this didn't help.
Hi I have got all things correct but still getting th same error.. Pluse I got to keep some dlls in my package so can anyone tell me how to do that.. ? I dont use any IDE... [ August 21, 2008: Message edited by: Saurabh Gangarde ]