Bookmark Topic Watch Topic
  • New Topic

Jar a folder using Java

 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
IN UNIX and DOS, we have jar and unjar command, using which we can jar and unjar a jar file. I googled to find the how this can be done in java. Got couple of sites, but it seems to be quite big. Can anyone help me with suggesting the ways how this can be done quite simpler.
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Recommended reading http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/jar.html
Its quite simple. Invoke the jar command with required flags.
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Renu, please UseOneThreadPerQuestion. This question is identical to this one. Closing this thread.
 
    Bookmark Topic Watch Topic
  • New Topic