Swing Application not deploying...

HI,

I have created a GUI application using SWing in Netbeans.. I want to deploy this application outside my IDE and distribute it , so that others can also use it..But I am failing to do that..

When I am going to the dist folder and running

java -jar GUI.jar the following exception is showing..

C:\Documents and Settings\Don\GUI\dist>java -jar GUI.jar

Failed to load Main-Class manifest attribute from

GUI.jar

I have added the swing_layout1.0 jar file in my classpath...plz suggest..

[536 byte] By [profilemia] at [2007-11-27 5:15:13]
# 1
Did you define the Main-Class in the manifest file in the jar?
bsampieria at 2007-7-12 10:37:22 > top of Java-index,Desktop,Core GUI APIs...
# 2
no..i have not done anything with the manifest.mf file...wat do i neeed to do there?plz suggest..
profilemia at 2007-7-12 10:37:22 > top of Java-index,Desktop,Core GUI APIs...
# 3
Search for "Main-Class manifest" and you'll find plenty of info.
bsampieria at 2007-7-12 10:37:22 > top of Java-index,Desktop,Core GUI APIs...
# 4
or java -jar GUI.jar my.package.MyMainClass.class
bsampieria at 2007-7-12 10:37:22 > top of Java-index,Desktop,Core GUI APIs...