I meet the same problem, It was called by supervisor ,the full command is unzip -qq " + jarpath + " " + dir + "/** -d, but i can`t understand what it is use for?
public static void extract_dir_from_jar(String jarpath, String dir,
String destdir) {
String cmd="unzip -qq " + jarpath + " " + dir + "/** -d "
+ destdir;
try {
exec_command(cmd);
} catch (ExecuteException e) {
LOG.error("Error when trying to extract " + dir + " from " + jarpath +"by cmd:"+cmd,e);
} catch (IOException e) {
LOG.error("Error when trying to extract " + dir + " from " + jarpath
+ " IOException" +"by cmd:"+cmd,e);