I am trying to decompress .z file from java on a 64-bit windows machine. This compressed file contains folders and files. How do i do this?
I have tried the following:
ProcessBuilder pb = new ProcessBuilder("uncompress", zFilePath);
Process p = pb.start();
But i get this:
java.io.IOException: Cannot run program "uncompress": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
Please advise,
thanks!