我试图在64位Windows机器上从java解压缩.z文件。此压缩文件包含文件夹和文件。我该怎么做?
我尝试了以下内容:
ProcessBuilder pb = new ProcessBuilder("uncompress", zFilePath);
Process p = pb.start();
但我明白了:
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)
请指教,
谢谢!