I have the following error while running a jar file built using eclipse==>
"
Failed to load Main-Class manifest attribute from C:\Documents and Settings\195156 \Workspace\tool 1.jar "
tool1.jar is the name i have given to the jar file.
The class that contains the "main(Strin g a[])" function is "test2.clas s"
and i have 4 more classes.I have created a META-INF folder under the project root directory,and created a file named"MANIFEST. MF".
Written the following lines in the file==>
Manifest-Version: 1.0
Main-Class:ZipSelfEx tractor
Class-Path: lib/org.eclipse.swt .win32.win32.x8 6_3.1.1.jar
I cant find the cause of error,please help me with it.
"
Failed to load Main-Class manifest attribute from C:\Documents and Settings\195156 \Workspace\tool 1.jar "
tool1.jar is the name i have given to the jar file.
The class that contains the "main(Strin g a[])" function is "test2.clas s"
and i have 4 more classes.I have created a META-INF folder under the project root directory,and created a file named"MANIFEST. MF".
Written the following lines in the file==>
Manifest-Version: 1.0
Main-Class:ZipSelfEx tractor
Class-Path: lib/org.eclipse.swt .win32.win32.x8 6_3.1.1.jar
I cant find the cause of error,please help me with it.
Comment