• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unziping a file without using winzip or any other software

 
sonu rai
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I hvae written a program to zip a file in java which is working properly
but my problem is i want to unzip the same file by double clicking on it
without using winzip or any other extractor.

the file have to open without help of any extractor.So, tell me what i have to do.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need some kind of extractor, since Windows does not have the capability to work with ZIP files out of the box. You could embed the zip file into a jar file that runs code to extract the contents when it's double-clicked.
 
sonu rai
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If jvm is not instaled then what i can do
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What operating system are you using? Windows XP (and presumably Vista) will open a zip file with the Windows Explorer when one double-clicks on it.
Prior versions of Windows will require a third-party application.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!