tags:

views:

634

answers:

2

When i use this cmd line : jar cmf arshad.mf ars.jar *.class i get this error :

invalid header field name:Manifest-version

This is my manifest file :

Manifest-Version: 1.0
Main-Class:t

i made the manifest file with notepad in UTF-8 encoding - is there any problem with the manifest ?

+2  A: 

Add a space after the colons:

Manifest-Version: 1.0
Main-Class: t
Adam Rosenfield
wow . that was a perfect solution.thx a lot :)
arshad
A: 

thanks so much, GREAT solution :)

Paolo