View Single Post
  #2 (permalink)  
Old 07-03-2009, 09:36 PM
angryboy's Avatar
angryboy angryboy is offline
Senior Member
 
Join Date: Jan 2009
Location: Javaland
Posts: 742
Rep Power: 2
angryboy is on a distinguished road
Default
the manifest file need a newline after it. Otherwise jar will strip off that line.

also try this:
Code:
jar -efc Sort Sort.jar *.class

//  jar -efc {Main-Class} {Jar-Name} {.class-files}
__________________
USE CODE TAGS--> [CODE]...[/CODE]
Get NotePad++ (free)

Last edited by angryboy; 07-03-2009 at 11:00 PM.
Reply With Quote