| Author |
Error while running jar file.
|
Yatin Shah
Ranch Hand
Joined: Sep 11, 2004
Posts: 72
|
|
Hi, 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 D:\Yatin\Project\UserInterface.jar Anyone can help me How can I create exe file. Thanking You Yatin Shah.
|
 |
Shan Accent
Greenhorn
Joined: May 08, 2005
Posts: 23
|
|
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> for eg: d:\sample>jar -cvfm <jar file name> mf.txt <class files> If you have problem let me know....
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Error while running jar file.
|
|
|