I am new to this community.
I have a problem described below.
I need to write a java code which would archive a set of files in "newc" format and then compress it using gzip. There are apis to compress in gzip format but couldnt find an api that would archive in "newc" format.
One solution is to invoke "cpio" command (to compress in "newc" format) through java code but this will work only on linux. I need to find something similar on windows, as the code must run on both on windows and linux.
Any help is appreciated. Thanks in advace