Error when uncompressing file in unix
I have created a zip file Sample.Z by using ZIPOutputStream API in java. when i uncompress the zip file which i created in UNIX, I m getting a error message not in compressed format. But i am able to uncompress it in both WINDOWS and LINUX. Can anyone help me. Its urgent plz.....................
Thanks in advance
Hi ,
Thanks a lot for ur immediate response.
I can able to gunzip that file. Because ZIPOutputStream will create a gz file.
But i want to create a file with the extension .Z that means with the Unix compress format. I want to use "uncompress" command only in unix.
Do you have any idea like how to create a UNIX compress format file in java. Is there any API for that.
thanks.