Problem while creating JAR file for my swing application

Hi...

Using my swings application I am trying to Run different software抯 .

My program is Running fine from command prompt. If I create JAR file

It is giving error like 揊ailed to load Main-Class manifest attribute from .jar?br>Can anybody help me to creating JAR file

Thanks in advance

Cheers

Mallik

[344 byte] By [mallik.83a] at [2007-11-27 8:14:39]
# 1

hi,

User following command

jar-cmf textfile_name.txt Jarfile_name *

here you have to make manifest file

and making jar file you have reach there by command promt

and manifest file have some constraint also as well as format

format are

Manifest-Version: 1.0

Class-path: jar file name which are using in app separed by space

Created-By: 1.5.0 (Sun Microsystems Inc.)

Main-Class: Main class name

and end of file is not have carriage return

hitesh_karela at 2007-7-12 19:59:15 > top of Java-index,Desktop,Core GUI APIs...