A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Error while running jar file.
Joined: Sep 11, 2004
Aug 23, 2005 05:41:00
I did jar to run as exe file. But, when I am double clicking on jar file it shows following error.
Failed to load Main-class mainfest attribute from
Anyone can help me How can I create exe file.
Joined: May 08, 2005
Aug 23, 2005 06:01:00
Did u added the correct manifest file to jar file?
if not do it.
Create mf.txt file and the following code.
Main-Class: <Main class name>
d:\sample>jar -cvfm <jar file name> mf.txt <class files>
If you have problem let me know....
It is sorta covered in the
JavaRanch Style Guide
subject: Error while running jar file.
How can I jar file and batch file to treat as a exe file?
I need help to create exe file.
How to make exe file?
How to create exe file
How to create exe file?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013