Peter Chan
asked on
Problem to run jar file
Hi,
I can directly run the project fine, within Eclipse. But when I run it like
I can directly run the project fine, within Eclipse. But when I run it like
Z:\cmp2\Eclipse\JLib4>java -jar BankAcctNoValidator_049.jar
no main manifest attribute, in BankAcctNoValidator_049.jar
using the exported Jar, I get the problem in above. How to run the jar file?
There's no Main-Class attribute in the manifest. You didn't export it properly
http://home.technojeeves.com/webtmp/BankAcctNoValidator_049.jar
http://home.technojeeves.com/webtmp/BankAcctNoValidator_049.jar
ASKER
Sorry, can I have the details to add Main-Class attribute? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
https://dl.dropboxusercontent.com/u/40211031/BankAcctNoValidator_049.jar